1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-25 12:41:56 +03:00

Use __new__() for case counting

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis
2022-08-24 17:04:07 +01:00
parent c34d037fa0
commit cace1aa02e
2 changed files with 3 additions and 4 deletions

View File

@ -92,8 +92,6 @@ class BignumOperation(BignumTarget, metaclass=ABCMeta):
input_cases = [] # type: List[Tuple[str, ...]]
def __init__(self, val_l: str, val_r: str) -> None:
super().__init__()
self.arg_l = val_l
self.arg_r = val_r
self.int_l = hex_to_int(val_l)