diff --git a/scripts/mbedtls_dev/test_generation.py b/scripts/mbedtls_dev/test_generation.py index 652b9a1f8..a90547349 100644 --- a/scripts/mbedtls_dev/test_generation.py +++ b/scripts/mbedtls_dev/test_generation.py @@ -67,7 +67,7 @@ class BaseTarget(metaclass=ABCMeta): Returns: List of arguments required for the test function. """ - pass + raise NotImplementedError def description(self) -> str: """Create a test description. @@ -104,7 +104,7 @@ class BaseTarget(metaclass=ABCMeta): of the class with appropriate input data, and then calling `create_test_case()` on each. """ - pass + raise NotImplementedError @classmethod def generate_tests(cls) -> Iterator[test_case.TestCase]: diff --git a/tests/scripts/generate_bignum_tests.py b/tests/scripts/generate_bignum_tests.py index a2a9d0674..aa7e131a1 100755 --- a/tests/scripts/generate_bignum_tests.py +++ b/tests/scripts/generate_bignum_tests.py @@ -122,7 +122,7 @@ class BignumOperation(BignumTarget, metaclass=ABCMeta): This may be calculated during initialization and stored as `_result`, or calculated when the method is called. """ - pass + raise NotImplementedError @staticmethod def value_description(val) -> str: