diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2011-03-05 18:41:09 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-03-05 18:48:56 -0700 |
commit | 2924d76fc1eec76cedc6fda0e9426c5d183df953 (patch) | |
tree | 724a86d9cbafec7829d0b32ed4904e20a4ac34b4 /numpy | |
parent | 766cac0cf7bd616476226377b3573778c0e38476 (diff) | |
download | numpy-2924d76fc1eec76cedc6fda0e9426c5d183df953.tar.gz |
ENH: Increase test coverage a bit to test all the fast paths.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_regression.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py index 24e70e92d..599100719 100644 --- a/numpy/core/tests/test_regression.py +++ b/numpy/core/tests/test_regression.py @@ -1547,9 +1547,9 @@ class TestRegression(TestCase): def test_string_astype(self): """Ticket #1756 """ - s = asbytes('12345') + s = asbytes('0123456789abcdef') a = np.array([s]*5) - for i in range(1,6): + for i in range(1,17): a1 = np.array(a, "|S%d"%i) a2 = np.array([s[:i]]*5) assert_equal(a1, a2) |