Skip to content

Commit 078db9f

Browse files
committed
Update test_repr_deep from Python 3.12
1 parent 1f013f5 commit 078db9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/list_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_repr(self):
7676
@not_pypy()
7777
def test_repr_deep(self):
7878
a = self.type2test([])
79-
for i in range(sys.getrecursionlimit() + 100):
79+
for i in range(1500 + 1): # sys.getrecursionlimit() + 100
8080
a = self.type2test([a])
8181
with pytest.raises(RecursionError):
8282
repr(a)

0 commit comments

Comments
 (0)