Skip to content

Commit d531b85

Browse files
committed
skip a few threading tests
1 parent 53a3259 commit d531b85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hypothesis-python/tests/cover/test_stateful.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
from tests.common.utils import (
4747
Why,
4848
capture_out,
49+
skipif_threading,
4950
validate_deprecation,
5051
xfail_on_crosshair,
5152
)
@@ -407,6 +408,7 @@ def increment(self):
407408
FailsEventually.TestCase.settings = Settings(stateful_step_count=5)
408409

409410

411+
@skipif_threading
410412
def test_can_explicitly_pass_settings():
411413
run_state_machine_as_test(FailsEventually)
412414
try:
@@ -432,6 +434,7 @@ def test_runner_that_checks_factory_produced_a_machine():
432434
run_state_machine_as_test(object)
433435

434436

437+
@skipif_threading
435438
def test_settings_attribute_is_validated():
436439
real_settings = FailsEventually.TestCase.settings
437440
try:

0 commit comments

Comments
 (0)