Skip to content

Commit 30921f4

Browse files
committed
Conditionally skip flakey-on-pypy test
1 parent 16821c4 commit 30921f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hypothesis-python/tests/conjecture/test_engine.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
)
2828
from hypothesis.database import ExampleDatabase, InMemoryExampleDatabase
2929
from hypothesis.errors import FailedHealthCheck, FlakyStrategyDefinition
30-
from hypothesis.internal.compat import bit_count, int_from_bytes
30+
from hypothesis.internal.compat import PYPY, bit_count, int_from_bytes
3131
from hypothesis.internal.conjecture import engine as engine_module
3232
from hypothesis.internal.conjecture.data import ConjectureData, IRNode, Overrun, Status
3333
from hypothesis.internal.conjecture.datatree import compute_max_children
@@ -165,6 +165,7 @@ def recur(i, data):
165165
recur(i - 1, data)
166166

167167

168+
@pytest.mark.skipif(PYPY, reason="stack tricks only work reliably on CPython")
168169
def test_recursion_error_is_not_flaky():
169170
def tf(data):
170171
i = data.draw_integer(0, 2**16 - 1)

0 commit comments

Comments
 (0)