summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/commands/sanity/validate_modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_internal/commands/sanity/validate_modules.py')
-rw-r--r--test/lib/ansible_test/_internal/commands/sanity/validate_modules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/commands/sanity/validate_modules.py b/test/lib/ansible_test/_internal/commands/sanity/validate_modules.py
index 6df28dcc65..9ab8970b5f 100644
--- a/test/lib/ansible_test/_internal/commands/sanity/validate_modules.py
+++ b/test/lib/ansible_test/_internal/commands/sanity/validate_modules.py
@@ -96,7 +96,7 @@ class ValidateModulesTest(SanitySingleVersion):
return None
- def filter_targets(self, targets: t.List[TestTarget]) -> t.List[TestTarget]:
+ def filter_targets(self, targets: list[TestTarget]) -> list[TestTarget]:
"""Return the given list of test targets, filtered to include only those relevant for the test."""
return [target for target in targets if self.get_plugin_type(target) is not None]