Increase hypothesis deadline
The value is pretty close to the new default that will come out in future hypothesis versions, which is generating a deprecation error on CI. Using a loose deadline because CI boxes are not reliable in how much CPU power they have available
This commit is contained in:
parent
a4425cb4af
commit
94e62dfc50
|
@ -188,6 +188,7 @@ class TestMetafunc(object):
|
||||||
assert metafunc._calls[3].id == "x1-b"
|
assert metafunc._calls[3].id == "x1-b"
|
||||||
|
|
||||||
@hypothesis.given(strategies.text() | strategies.binary())
|
@hypothesis.given(strategies.text() | strategies.binary())
|
||||||
|
@hypothesis.settings(deadline=400.0) # very close to std deadline and CI boxes are not reliable in CPU power
|
||||||
def test_idval_hypothesis(self, value):
|
def test_idval_hypothesis(self, value):
|
||||||
from _pytest.python import _idval
|
from _pytest.python import _idval
|
||||||
escaped = _idval(value, 'a', 6, None)
|
escaped = _idval(value, 'a', 6, None)
|
||||||
|
|
Loading…
Reference in New Issue