Add type annotations
Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
parent
43110b6b2c
commit
7b5c4e2db3
@ -250,9 +250,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 New Issue
Block a user