Skip to content

Commit

Permalink
Remove np.NaN use
Browse files Browse the repository at this point in the history
  • Loading branch information
e-koch committed Oct 1, 2024
1 parent e59016a commit 19e7328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio_beam/tests/test_beams.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def test_extrema_beams(beams, majors, minors, pas):
assert extrema[1].minor.value == minors[mask].max().value


@pytest.mark.parametrize("majors", [[1, 1, 1, 2, np.NaN, 4],
@pytest.mark.parametrize("majors", [[1, 1, 1, 2, np.nan, 4],
[0, 1, 1, 2, 3, 4]])
def test_beams_with_invalid(majors):

Expand Down

0 comments on commit 19e7328

Please sign in to comment.