Skip to content

Commit

Permalink
Update numpy/ma/tests/test_core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
seberg authored and charris committed Mar 17, 2021
1 parent 9719ac5 commit fb44ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/ma/tests/test_core.py
Expand Up @@ -242,7 +242,7 @@ def test_creation_with_list_of_maskedarrays_no_bool_cast(self):
# Tests the regression in gh-18551
masked_str = np.ma.masked_array(['a', 'b'], mask=[True, False])
normal_int = np.arange(2)
res = np.ma.asarray([masked_str, normal_int])
res = np.ma.asarray([masked_str, normal_int], dtype="U21")
assert_array_equal(res.mask, [[True, False], [False, False]])

# The above only failed due a long chain of oddity, try also with
Expand Down

0 comments on commit fb44ee2

Please sign in to comment.