diff --git a/tests/test_effect.py b/tests/test_effect.py index 362f413..ca69a20 100644 --- a/tests/test_effect.py +++ b/tests/test_effect.py @@ -184,6 +184,7 @@ def test_memoize(self): assert double_e.run(None) == 'result' assert state.value == ('modify was called', ) + @settings(deadline=None) @given(effects(), effects()) def test_and_then_cpu_bound(self, e1, e2): e1.and_then(effect.cpu_bound(lambda _: e2)).run(None) == e2.run(None) @@ -203,6 +204,7 @@ def test_recover_io_bound(self, e): effect.error('').recover(effect.io_bound(lambda _: e) ).run(None) == e.run(None) + @settings(deadline=None) @given(effects(), anything()) def test_map_cpu_bound(self, e, value): e.map(effect.cpu_bound(lambda _: value)).run(None) == value @@ -222,6 +224,7 @@ def test_combine_io_bound(self, e1, e2): effect.combine(e1, e2)(effect.io_bound(lambda v1, v2: (v1, v2)) ).run(None) == (e1.run(None), e2.run(None)) + @settings(deadline=None) @given(effects(), effects()) def test_lift_cpu_bound(self, e1, e2): effect.lift(effect.cpu_bound(lambda v1, v2: (v1, v2)) @@ -232,6 +235,7 @@ def test_lift_io_bound(self, e1, e2): effect.lift(effect.io_bound(lambda v1, v2: (v1, v2)) )(e1, e2).run(None) == (e1.run(None), e2.run(None)) + @settings(deadline=None) @given(unaries(rights())) def test_from_callable_cpu_bound(self, f): assert effect.from_callable(effect.cpu_bound(f)