summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_io.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-11-20 09:13:07 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-11-20 09:13:07 +0000
commite39cb02e227e168f8b3b55c455820c47e2d6c4c1 (patch)
tree4f01b6ebe5293edff9e9aef6787fbca66b98d5b8 /numpy/lib/tests/test_io.py
parent5fb169855c44f725e46668957c7a5177d43d02ab (diff)
downloadnumpy-e39cb02e227e168f8b3b55c455820c47e2d6c4c1.tar.gz
Fix ambiguous assert.
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 d257b5423..e78fd0579 100644
--- a/numpy/lib/tests/test_io.py
+++ b/numpy/lib/tests/test_io.py
@@ -65,7 +65,7 @@ class TestSaveTxt(TestCase):
c = StringIO.StringIO()
np.savetxt(c, a)
c.seek(0)
- assert(c.readlines(),
+ assert(c.readlines() ==
['1.000000000000000000e+00 2.000000000000000000e+00\n',
'3.000000000000000000e+00 4.000000000000000000e+00\n'])