From f4d70ae15e9e8d80cad5ccfcd9029bb23f6ec4f1 Mon Sep 17 00:00:00 2001 From: "Ware, Joseph (DLSLtd,RAL,LSCI)" Date: Mon, 11 Nov 2024 17:43:46 +0000 Subject: [PATCH] noqa where type: ignore insufficient --- tests/unit_tests/core/test_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/core/test_context.py b/tests/unit_tests/core/test_context.py index c1351e320..16f0f5c0b 100644 --- a/tests/unit_tests/core/test_context.py +++ b/tests/unit_tests/core/test_context.py @@ -311,7 +311,7 @@ def test_reference_type_conversion_explicit_union( ) -> None: movable_ref: type = empty_context._reference(Movable) assert empty_context._convert_type(Movable) == movable_ref - assert empty_context._convert_type(Union[Movable, int]) == Union[movable_ref, int] # type: ignore + assert empty_context._convert_type(Union[Movable, int]) == Union[movable_ref, int] # noqa # type: ignore def test_reference_type_conversion_new_style_union(