From 71cde5f4fde8e3d9ae1aedbbcbb7d57d7a99b2fa Mon Sep 17 00:00:00 2001 From: Mike Wilensky Date: Wed, 16 Oct 2024 12:25:24 -0400 Subject: [PATCH] Update warning match in unit tests --- hera_cal/tests/test_frf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hera_cal/tests/test_frf.py b/hera_cal/tests/test_frf.py index 55da76f53..d35cd30ed 100644 --- a/hera_cal/tests/test_frf.py +++ b/hera_cal/tests/test_frf.py @@ -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,