Remove unused imports

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis 2022-09-02 12:57:37 +01:00
parent a4668a6b6c
commit 56013081c7
2 changed files with 3 additions and 3 deletions

View file

@ -193,8 +193,8 @@ def main(args, generator_class: Type[TestGenerator] = TestGenerator):
# ``generate_xxx_tests.py - $targets`` and it works uniformly whether # ``generate_xxx_tests.py - $targets`` and it works uniformly whether
# ``$targets`` is empty or not. # ``$targets`` is empty or not.
options.targets = [os.path.basename(re.sub(r'\.data\Z', r'', target)) options.targets = [os.path.basename(re.sub(r'\.data\Z', r'', target))
for target in options.targets for target in options.targets
if target != '-'] if target != '-']
else: else:
options.targets = sorted(generator.targets) options.targets = sorted(generator.targets)
for target in options.targets: for target in options.targets:

View file

@ -58,7 +58,7 @@ import itertools
import sys import sys
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod
from typing import Callable, Dict, Iterable, Iterator, List, Tuple, TypeVar, cast from typing import Iterator, List, Tuple, TypeVar, cast
import scripts_path # pylint: disable=unused-import import scripts_path # pylint: disable=unused-import
from mbedtls_dev import test_case from mbedtls_dev import test_case