mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 13:11:03 +00:00
Add type annotations
Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
parent
6439e85094
commit
0bdb84e861
|
@ -244,9 +244,9 @@ class StorageFormat:
|
||||||
generate backward compatibility test cases which inject a key
|
generate backward compatibility test cases which inject a key
|
||||||
representation and check that it can be read and used.
|
representation and check that it can be read and used.
|
||||||
"""
|
"""
|
||||||
self.constructors = info.constructors
|
self.constructors = info.constructors #type: macro_collector.PSAMacroEnumerator
|
||||||
self.version = version
|
self.version = version #type: int
|
||||||
self.forward = forward
|
self.forward = forward #type: bool
|
||||||
|
|
||||||
def make_test_case(self, key: StorageKey) -> test_case.TestCase:
|
def make_test_case(self, key: StorageKey) -> test_case.TestCase:
|
||||||
"""Construct a storage format test case for the given key.
|
"""Construct a storage format test case for the given key.
|
||||||
|
|
Loading…
Reference in a new issue