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:
@ -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.
|
||||
|
Reference in New Issue
Block a user