Move symbol definition out of __init__
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
diff --git a/tests/scripts/generate_bignum_tests.py b/tests/scripts/generate_bignum_tests.py
index cc4db4c..28d29bf 100755
--- a/tests/scripts/generate_bignum_tests.py
+++ b/tests/scripts/generate_bignum_tests.py
@@ -211,6 +211,7 @@
class BignumAdd(BignumOperation):
"""Test cases for bignum value addition."""
count = 0
+ symbol = "+"
test_function = "mbedtls_mpi_add_mpi"
test_name = "MPI add"
input_cases = cast(
@@ -223,10 +224,6 @@
))
)
- def __init__(self, val_l, val_r) -> None:
- super().__init__(val_l, val_r)
- self.symbol = "+"
-
def result(self) -> str:
return quote_str("{:x}".format(self.int_l + self.int_r))