diff options
Diffstat (limited to 'numpy/core')
| -rw-r--r-- | numpy/core/tests/test_regression.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py index 4d7ab05fd..24e70e92d 100644 --- a/numpy/core/tests/test_regression.py +++ b/numpy/core/tests/test_regression.py @@ -1547,7 +1547,7 @@ class TestRegression(TestCase): def test_string_astype(self): """Ticket #1756 """ - s = '12345' + s = asbytes('12345') a = np.array([s]*5) for i in range(1,6): a1 = np.array(a, "|S%d"%i) |
