Skip to content

Commit

Permalink
Update warning match in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Wilensky authored and jsdillon committed Oct 16, 2024
1 parent a53c0cc commit 71cde5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hera_cal/tests/test_frf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ def test_prep_var_for_frop():
# Should replace all of one channel with a peculiarly chosen value of 2.3
nsamples[cross_antpairpol][:, 48] = 0
with pytest.warns(UserWarning,
match="Not all infinite variance locations are of zero weight!"):
match="Not all nonfinite variance locations are of zero weight!"):
var_for_frop = frf.prep_var_for_frop(data, nsamples, weights,
cross_antpairpol, freq_slice,
auto_ant=53,
Expand Down

0 comments on commit 71cde5f

Please sign in to comment.