Skip to content

Commit

Permalink
noqa where type: ignore insufficient
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Nov 11, 2024
1 parent 3aeea90 commit f4d70ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/core/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f4d70ae

Please sign in to comment.