1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-13 19:21:32 +03:00

Fix TARGET types and code style

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis
2022-08-25 10:02:06 +01:00
parent 6d654c6491
commit e3ad22ecf2
2 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python3
"""Common test generation classes and main function.
These are used both by generate_psa_tests.py and generate_bignum_tests.py.
@ -150,7 +149,7 @@ class TestGenerator:
# Note that targets whose names contain 'test_format' have their content
# validated by `abi_check.py`.
TARGETS = {} # type: Dict[str, Callable[..., test_case.TestCase]]
TARGETS = {} # type: Dict[str, Callable[..., Iterable[test_case.TestCase]]]
def generate_target(self, name: str, *target_args) -> None:
"""Generate cases and write to data file for a target.