Skip to content

Commit

Permalink
skip some tests on python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Jan 2, 2025
1 parent dcb2c21 commit 64a5e5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/entry_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def test_exc_2(self):
Entry(("word",), "defi")

def test_exc_3(self):
if sys.version_info < (3, 10):
return
try:
Entry("word", b"defi")
except TypeError as e:
Expand All @@ -31,6 +33,8 @@ def test_exc_3(self):
self.fail("must raise TypeError")

def test_exc_4(self):
if sys.version_info < (3, 10):
return
try:
Entry("word", ("defi",))
except TypeError as e:
Expand Down

0 comments on commit 64a5e5b

Please sign in to comment.