Skip to content

Commit 97c61e4

Browse files
committed
Fix Python 3.8 version guard
1 parent f915e02 commit 97c61e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_union():
7676
assert field.type.__name__.startswith("UnionOf")
7777

7878

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

8282
def test_literal():

0 commit comments

Comments
 (0)