Skip to content

Commit c31e070

Browse files
committed
Skip default-settings test under non-default settings
1 parent 8eab5cf commit c31e070

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hypothesis-python/tests/cover/test_deadline.py

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ def slow(i):
2929
slow()
3030

3131

32+
@pytest.mark.skipif(
33+
settings.get_profile(settings._current_profile).deadline is None,
34+
reason="not expected to fail if deadline is disabled",
35+
)
3236
@fails_with(DeadlineExceeded)
3337
@given(st.integers())
3438
def test_slow_tests_are_errors_by_default(i):

0 commit comments

Comments
 (0)