We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f013f5 commit 078db9fCopy full SHA for 078db9f
tests/list_tests.py
@@ -76,7 +76,7 @@ def test_repr(self):
76
@not_pypy()
77
def test_repr_deep(self):
78
a = self.type2test([])
79
- for i in range(sys.getrecursionlimit() + 100):
+ for i in range(1500 + 1): # sys.getrecursionlimit() + 100
80
a = self.type2test([a])
81
with pytest.raises(RecursionError):
82
repr(a)
0 commit comments