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
# ``$targets`` is empty or not.
options.targets = [os.path.basename(re.sub(r'\.data\Z', r'', target))
for target in options.targets
if target != '-']
for target in options.targets
if target != '-']
else:
options.targets = sorted(generator.targets)
for target in options.targets: