Fix type issues
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
parent
b17ca8ad80
commit
c442f6a3d6
1 changed files with 7 additions and 7 deletions
|
@ -26,7 +26,7 @@ import os
|
||||||
import posixpath
|
import posixpath
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
from typing import Iterable, Iterator, Optional, Tuple, TypeVar
|
from typing import Iterable, Iterator, List, Optional, Tuple, TypeVar
|
||||||
|
|
||||||
import scripts_path # pylint: disable=unused-import
|
import scripts_path # pylint: disable=unused-import
|
||||||
from mbedtls_dev import build_tree
|
from mbedtls_dev import build_tree
|
||||||
|
@ -52,16 +52,16 @@ class BaseTarget:
|
||||||
title: Description of the test function/purpose.
|
title: Description of the test function/purpose.
|
||||||
"""
|
"""
|
||||||
count = 0
|
count = 0
|
||||||
desc = None
|
desc = ""
|
||||||
func = None
|
func = ""
|
||||||
gen_file = ""
|
gen_file = ""
|
||||||
title = None
|
title = ""
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
type(self).count += 1
|
type(self).count += 1
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def args(self) -> Iterable[str]:
|
def args(self) -> List[str]:
|
||||||
"""Create list of arguments for test case."""
|
"""Create list of arguments for test case."""
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
@ -105,8 +105,8 @@ class BignumOperation(BignumTarget):
|
||||||
"", "0", "7b", "-7b",
|
"", "0", "7b", "-7b",
|
||||||
"0000000000000000123", "-0000000000000000123",
|
"0000000000000000123", "-0000000000000000123",
|
||||||
"1230000000000000000", "-1230000000000000000"
|
"1230000000000000000", "-1230000000000000000"
|
||||||
]
|
] # type: List[str]
|
||||||
input_cases = []
|
input_cases = [] # type: List[Tuple[str, ...]]
|
||||||
|
|
||||||
def __init__(self, val_l: str, val_r: str) -> None:
|
def __init__(self, val_l: str, val_r: str) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue