Skip to content

Commit

Permalink
Fix Python 3.8 version guard
Browse files Browse the repository at this point in the history
  • Loading branch information
necaris committed Jan 25, 2022
1 parent f915e02 commit 97c61e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_union():
assert field.type.__name__.startswith("UnionOf")


if sys.version_info > (3, 7):
if sys.version_info >= (3, 8):
# Python < 3.8 does not support typing.Literal

def test_literal():
Expand Down

0 comments on commit 97c61e4

Please sign in to comment.