Raise NotImplementedError in abstract methods
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
diff --git a/scripts/mbedtls_dev/test_generation.py b/scripts/mbedtls_dev/test_generation.py
index 582b542..55076dc 100644
--- a/scripts/mbedtls_dev/test_generation.py
+++ b/scripts/mbedtls_dev/test_generation.py
@@ -66,7 +66,7 @@
Returns:
List of arguments required for the test function.
"""
- pass
+ raise NotImplementedError
def description(self) -> str:
"""Create a test description.
@@ -103,7 +103,7 @@
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 a2a9d06..aa7e131 100755
--- a/tests/scripts/generate_bignum_tests.py
+++ b/tests/scripts/generate_bignum_tests.py
@@ -122,7 +122,7 @@
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: