diff options
author | Julian Taylor <juliantaylor108@gmail.com> | 2017-03-25 14:47:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-25 14:47:04 +0100 |
commit | ab49be1d5a6f1a7c51298a8fe46a9f43bb2bb33b (patch) | |
tree | 434f751384e02a2d386dda491527c50fed070625 /numpy/lib/tests/test_io.py | |
parent | a7ed83f6d9e5e8f5a024dfe2d42ad290d79422b1 (diff) | |
parent | 1dc20cba80660ee9f2b16e26c0d6e7f23bf9e08f (diff) | |
download | numpy-ab49be1d5a6f1a7c51298a8fe46a9f43bb2bb33b.tar.gz |
Merge pull request #8832 from eric-wieser/avoid-as-bytes
MAINT: Remove python <2.7,<3.3 string/unicode workarounds
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) |