From ac77cf535d4d0858749bde19bff268385c8e565f Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Sat, 25 Mar 2017 11:07:59 +0000 Subject: MAINT: Replace unicode() with u prefix --- numpy/lib/tests/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/tests/test_io.py') 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) -- cgit v1.2.1