Skip to content

Commit

Permalink
Remove Python <3.9 code from main (#45252)
Browse files Browse the repository at this point in the history
Fixed the test to include typing.Dict and removed the old skipif check.
  • Loading branch information
kaxil authored Dec 27, 2024
1 parent aab2b88 commit 9be5971
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/decorators/test_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,9 @@ def test_python_operator_python_callable_is_callable(self):
"annotation",
[
"dict",
pytest.param(
"dict[str, int]",
marks=pytest.mark.skipif(
sys.version_info < (3, 9),
reason="PEP 585 is implemented in Python 3.9",
),
),
"typing.Dict",
"dict[str, int]",
"typing.Dict",
"typing.Dict[str, int]",
],
)
def test_infer_multiple_outputs_using_dict_typing(self, resolve, annotation):
Expand Down

0 comments on commit 9be5971

Please sign in to comment.