Skip to content

Commit ce8fe70

Browse files
committed
Disable deadline for flaky-slow test
This has flaked a few times lately in our Windows CI, so disable the deadline.
1 parent 07ff885 commit ce8fe70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hypothesis-python/tests/cover/test_unittest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ def test(self):
5151

5252
SUBTEST_SUITE = """
5353
import unittest
54-
from hypothesis import given, strategies as st
54+
from hypothesis import given, settings, strategies as st
5555
5656
class MyTest(unittest.TestCase):
5757
@given(s=st.text())
58+
@settings(deadline=None)
5859
def test_subtest(self, s):
5960
with self.subTest(text=s):
6061
self.assertIsInstance(s, str)

0 commit comments

Comments
 (0)