Skip to content

Commit

Permalink
testfix: expect flags to be different between inpaint/flagged modes
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Nov 30, 2023
1 parent e8f2766 commit f19c965
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hera_cal/tests/test_lstbin_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,11 +533,11 @@ def test_inpaint_mode(self):
data=_data, nsamples=nsamples, flags=flags, inpainted_mode=True
)

# The data and std in the fully-flagged bin should be different, but Nsamples
# and Flags should be the same.
# The data, flags and std in the fully-flagged bin should be different, but
# Nsamples and Flags should be the same.
assert not np.allclose(df[0, 0, 0], di[0, 0, 0])
assert np.allclose(df[1:], di[1:])
assert np.allclose(ff, fi)
assert not np.allclose(ff, fi)
assert not np.allclose(stdf[0, 0, 0], stdi[0, 0, 0])
assert np.allclose(stdf[1:], stdi[1:])
assert np.allclose(nf, ni)
Expand Down

0 comments on commit f19c965

Please sign in to comment.