Skip to content

Commit

Permalink
Disable deadline for flaky-slow test
Browse files Browse the repository at this point in the history
This has flaked a few times lately in our Windows CI, so disable the deadline.
  • Loading branch information
Zac-HD committed Oct 17, 2022
1 parent 07ff885 commit ce8fe70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hypothesis-python/tests/cover/test_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ def test(self):

SUBTEST_SUITE = """
import unittest
from hypothesis import given, strategies as st
from hypothesis import given, settings, strategies as st
class MyTest(unittest.TestCase):
@given(s=st.text())
@settings(deadline=None)
def test_subtest(self, s):
with self.subTest(text=s):
self.assertIsInstance(s, str)
Expand Down

0 comments on commit ce8fe70

Please sign in to comment.