diff options
-rw-r--r-- | numpy/typing/tests/data/pass/ndarray_misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/typing/tests/data/pass/ndarray_misc.py b/numpy/typing/tests/data/pass/ndarray_misc.py index 62024603c..19a1af9e2 100644 --- a/numpy/typing/tests/data/pass/ndarray_misc.py +++ b/numpy/typing/tests/data/pass/ndarray_misc.py @@ -21,7 +21,7 @@ B0 = np.empty((), dtype=np.int32).view(SubClass) B1 = np.empty((1,), dtype=np.int32).view(SubClass) B2 = np.empty((1, 1), dtype=np.int32).view(SubClass) C: np.ndarray[Any, np.dtype[np.int32]] = np.array([0, 1, 2], dtype=np.int32) -D = np.empty(3).view(SubClass) +D = np.ones(3).view(SubClass) i4.all() A.all() |