diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_scalarmath.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/tests/test_scalarmath.py b/numpy/core/tests/test_scalarmath.py index 3950f02b9..788963e7d 100644 --- a/numpy/core/tests/test_scalarmath.py +++ b/numpy/core/tests/test_scalarmath.py @@ -79,6 +79,7 @@ class TestIndexing(NumpyTestCase): x = value assert_array_equal(x[...],value) assert_array_equal(x[()],value) + assert_equal(x[None,...].shape,(1,)) class TestRepr(NumpyTestCase): def check_float_repr(self): |