From 0ffc5979ae967a836bb70947c6ed77410850de5c Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 6 Dec 2025 18:01:05 +0100 Subject: [PATCH] Remove type hints. --- .../unit/plugins/module_utils/test_compose_v2.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/unit/plugins/module_utils/test_compose_v2.py b/tests/unit/plugins/module_utils/test_compose_v2.py index 1623c4af..d536218a 100644 --- a/tests/unit/plugins/module_utils/test_compose_v2.py +++ b/tests/unit/plugins/module_utils/test_compose_v2.py @@ -375,7 +375,7 @@ def test_parse_events(test_id, compose_version, dry_run, nonzero_rc, stderr, eve assert collected_warnings == warnings -JSON_TEST_CASES: list[tuple[str, str, str, list[Event], list[str]]] = [ +JSON_TEST_CASES = [ ( "pull-compose-2", "2.40.3", @@ -557,15 +557,15 @@ JSON_TEST_CASES: list[tuple[str, str, str, list[Event], list[str]]] = [ ids=[tc[0] for tc in JSON_TEST_CASES], ) def test_parse_json_events( - test_id: str, - compose_version: str, - stderr: str, - events: list[Event], - warnings: list[str], -) -> None: + test_id, + compose_version, + stderr, + events, + warnings, +): collected_warnings = [] - def collect_warning(msg: str) -> None: + def collect_warning(msg): collected_warnings.append(msg) collected_events = parse_json_events(