Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
seberg authored and charris committed Mar 17, 2021
1 parent 75e13a6 commit 9719ac5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numpy/ma/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ def test_creation_with_list_of_maskedarrays_no_bool_cast(self):
normal_int = np.arange(2)
res = np.ma.asarray([masked_str, normal_int])
assert_array_equal(res.mask, [[True, False], [False, False]])
# Te above only failed due a long chain of oddity, try also with

# The above only failed due a long chain of oddity, try also with
# an object array that cannot be converted to bool always:
class NotBool():
def __bool__(self):
Expand Down

0 comments on commit 9719ac5

Please sign in to comment.