Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Dec 1, 2023
1 parent 12aeed8 commit 644a1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/pickletester.py
Original file line number Diff line number Diff line change
Expand Up @@ -3557,7 +3557,7 @@ class F:
# File with bad read, no readline
class F:
read = bad_property
self.assertRaises(ZeroDivisionError, self.Unpickler, F())
self.assertRaises((AttributeError, ZeroDivisionError), self.Unpickler, F())

# File with bad peek
class F:
Expand Down

0 comments on commit 644a1cf

Please sign in to comment.