Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch:
Changeset: r93740:d1c1e6659eab
Date: 2018-02-03 11:58 +0100
http://bitbucket.org/pypy/pypy/changeset/d1c1e6659eab/
Log: set the hypothesis deadline of this test explicitly to None (it's
slow, because looking up the codec the first time is slow, not
anything related to the test). It will still be stopped after less
than 100 examples by the overall timeout of 60s
diff --git a/pypy/module/_io/test/test_interp_textio.py
b/pypy/module/_io/test/test_interp_textio.py
--- a/pypy/module/_io/test/test_interp_textio.py
+++ b/pypy/module/_io/test/test_interp_textio.py
@@ -1,6 +1,6 @@
import pytest
try:
- from hypothesis import given, strategies as st
+ from hypothesis import given, strategies as st, settings
except ImportError:
pytest.skip("hypothesis required")
import os
@@ -29,6 +29,7 @@
@given(data=st_readline(),
mode=st.sampled_from(['\r', '\n', '\r\n', '']))
+@settings(deadline=None)
def test_readline(space, data, mode):
txt, limits = data
w_stream = W_BytesIO(space)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit