We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5251e7 + 6996397 commit fd45ab9Copy full SHA for fd45ab9
numpy/ma/tests/test_extras.py
@@ -1674,7 +1674,7 @@ def test_shape_scalar(self):
1674
class TestNDEnumerate:
1675
1676
def test_ndenumerate_nomasked(self):
1677
- ordinary = np.ndarray(6).reshape((1, 3, 2))
+ ordinary = np.arange(6.).reshape((1, 3, 2))
1678
empty_mask = np.zeros_like(ordinary, dtype=bool)
1679
with_mask = masked_array(ordinary, mask=empty_mask)
1680
assert_equal(list(np.ndenumerate(ordinary)),
0 commit comments