summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests')
-rw-r--r--numpy/lib/tests/test_loadtxt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_loadtxt.py b/numpy/lib/tests/test_loadtxt.py
index 4d42917eb..cca328b16 100644
--- a/numpy/lib/tests/test_loadtxt.py
+++ b/numpy/lib/tests/test_loadtxt.py
@@ -983,6 +983,8 @@ def test_str_dtype_unit_discovery_with_converter():
assert_equal(a, expected)
+@pytest.mark.skipif(IS_PYPY and sys.implementation.version <= (7, 3, 8),
+ reason="PyPy bug in error formatting")
def test_control_character_empty():
with pytest.raises(TypeError, match="Text reading control character must"):
np.loadtxt(StringIO("1 2 3"), delimiter="")