summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-01-30 06:59:21 -0800
committerSebastian Berg <sebastian@sipsolutions.net>2022-01-30 06:59:21 -0800
commita756bfb313624eb47e28cba2553cc1ce497bbb1c (patch)
treeb6a1fbcadb65b451300cba7a08c8f8dc1c87f549 /numpy/lib/tests
parent59c20848a53402bfcf70625390391054aabac760 (diff)
downloadnumpy-a756bfb313624eb47e28cba2553cc1ce497bbb1c.tar.gz
TST: Skip error test using on PyPy (test uses %.100R)
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="")