Skip to content

Commit

Permalink
skip array len test on travis 3.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckerns committed Feb 22, 2022
1 parent d3d9906 commit dd31452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_bad_things():
assert list(errors(f, 1).keys()) == list(d.keys())
s = set([(err.__class__.__name__,err.args[0]) for err in list(errors(f, 1).values())])
a = dict(s)
if 0x30602f0 <= sys.hexversion > 0x30612f0: #XXX: travis-ci
if 0x30700f0 <= sys.hexversion > 0x30709f0: #XXX: travis-ci
assert len(s) is len(a) # TypeError (and possibly PicklingError)
n = 1 if IS_PYPY2 else 2
assert len(a) is n if 'PicklingError' in a.keys() else n-1
Expand Down

0 comments on commit dd31452

Please sign in to comment.