Skip to content

Commit

Permalink
test: fix regression test case
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftinv committed Oct 15, 2023
1 parent f158d81 commit faebbea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,8 @@ def test_normalise_optional_params(params, expected) -> None:
("Tuple[dict, List[Literal[42, 99]]]", Tuple[dict, List[Literal[42, 99]]], True),
# 3.10 union syntax
pytest.param(
"int | Literal[False]",
Union[int, Literal[False]],
"int | float",
Union[int, float],
True,
marks=pytest.mark.skipif(sys.version_info < (3, 10), reason="syntax requires py3.10"),
),
Expand Down

0 comments on commit faebbea

Please sign in to comment.