diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-03-25 11:07:59 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-03-25 12:52:38 +0000 |
commit | ac77cf535d4d0858749bde19bff268385c8e565f (patch) | |
tree | afe996614160084ba110e93c6b0aed2ee2b7198f /numpy/lib/tests/test_io.py | |
parent | 91548b509b63fe365c941d2fb1ec005ccc55a8ac (diff) | |
download | numpy-ac77cf535d4d0858749bde19bff268385c8e565f.tar.gz |
MAINT: Replace unicode() with u prefix
Diffstat (limited to 'numpy/lib/tests/test_io.py')
-rw-r--r-- | numpy/lib/tests/test_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py index 83fca5b91..2a494fe08 100644 --- a/numpy/lib/tests/test_io.py +++ b/numpy/lib/tests/test_io.py @@ -532,7 +532,7 @@ class TestLoadTxt(TestCase): c.write('# comment\n1,2,3,5\n') c.seek(0) x = np.loadtxt(c, dtype=int, delimiter=',', - comments=unicode('#')) + comments=u'#') a = np.array([1, 2, 3, 5], int) assert_array_equal(x, a) |