Skip to content

Commit 61221af

Browse files
committed
I give up on this flaky test.
1 parent e898a2c commit 61221af

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/list_tests.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,11 @@
1818
import pytest
1919

2020
# this package
21-
from domdf_python_tools.doctools import PYPY
2221
from domdf_python_tools.testing import not_pypy
2322
from tests import seq_tests
2423
from tests.seq_tests import ALWAYS_EQ, NEVER_EQ
2524

2625

27-
def flaky_pypy(func):
28-
if PYPY:
29-
return pytest.mark.flaky(reruns=2)(func)
30-
else:
31-
return func
32-
33-
3426
class CommonTest(seq_tests.CommonTest):
3527

3628
def test_init(self):
@@ -81,7 +73,7 @@ def test_repr(self):
8173
assert str(a2) == "[0, 1, 2, [...], 3]"
8274
assert repr(a2) == "[0, 1, 2, [...], 3]"
8375

84-
@flaky_pypy
76+
@not_pypy
8577
def test_repr_deep(self):
8678
a = self.type2test([])
8779
for i in range(sys.getrecursionlimit() + 100):

0 commit comments

Comments
 (0)