summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMatthew Brett <matthew.brett@gmail.com>2017-02-22 10:11:29 -0800
committerMatthew Brett <matthew.brett@gmail.com>2017-02-22 10:11:29 -0800
commitcd2446cbf34ffd48f19255b9c9751c2f18c52c6b (patch)
tree5d8fca5b65c5c88abd4b1ac6e3d9806cffb1fe4b /numpy
parent60961dd49badde39f387b63d1b40514c87347f1c (diff)
downloadnumpy-cd2446cbf34ffd48f19255b9c9751c2f18c52c6b.tar.gz
BUG: re-enable test with duplicate name
test_longdouble had two tests called test_fromstring_foreign, so the second was overwriting the first. Rename the first so test gets run.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_longdouble.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_longdouble.py b/numpy/core/tests/test_longdouble.py
index 13b78b930..0c363a8c3 100644
--- a/numpy/core/tests/test_longdouble.py
+++ b/numpy/core/tests/test_longdouble.py
@@ -52,7 +52,7 @@ def test_bytes():
@in_foreign_locale
-def test_fromstring_foreign():
+def test_fromstring_foreign_repr():
f = 1.234
a = np.fromstring(repr(f), dtype=float, sep=" ")
assert_equal(a[0], f)