summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_io.py
diff options
context:
space:
mode:
authorJack J. Woehr <jwoehr@softwoehr.com>2019-10-18 15:25:03 -0600
committerJack J. Woehr <jwoehr@softwoehr.com>2019-10-18 15:25:03 -0600
commitcc3da40d52cb46a346bf429b8d76d7fd59e29887 (patch)
tree3a0cf76b27723817e5520d877df1685ce7f4223d /numpy/lib/tests/test_io.py
parent4d4cc4dcf4feaa6c3162b0d07b0f687e477724ad (diff)
parentc1f56c455252e4c2dd2535f0ce140125aff8ece2 (diff)
downloadnumpy-cc3da40d52cb46a346bf429b8d76d7fd59e29887.tar.gz
Merge branch 'master' of https://github.com/numpy/numpy into einsum_c_buglet
Diffstat (limited to 'numpy/lib/tests/test_io.py')
-rw-r--r--numpy/lib/tests/test_io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py
index 6ee17c830..1181fe986 100644
--- a/numpy/lib/tests/test_io.py
+++ b/numpy/lib/tests/test_io.py
@@ -1871,7 +1871,7 @@ M 33 21.99
data = ["1, 1, 1, 1, -1.1"] * 50
mdata = TextIO("\n".join(data))
- converters = {4: lambda x: "(%s)" % x}
+ converters = {4: lambda x: "(%s)" % x.decode()}
kwargs = dict(delimiter=",", converters=converters,
dtype=[(_, int) for _ in 'abcde'],)
assert_raises(ValueError, np.genfromtxt, mdata, **kwargs)