Skip to content

Commit

Permalink
change to test to accomodate prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Wilensky committed Jun 1, 2020
1 parent 087c9b0 commit 1b51565
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pyuvdata/uvflag/tests/test_uvflag.py
Original file line number Diff line number Diff line change
Expand Up @@ -1104,12 +1104,9 @@ def test_to_waterfall_bl_ret_wt_sq():
uvf.to_waterfall(return_weights_square=True)
assert np.all(uvf.weights_square_array == 4 * Nbls)

# Check that weights_square_array is required
assert uvf._weights_square_array.required

# Switch to flag and check that it is now unrequired
# Switch to flag and check that it is now set to None
uvf.to_flag()
assert not uvf._weights_square_array.required
assert uvf.weights_square_array is None


def test_collapse_pol(test_outfile):
Expand Down

0 comments on commit 1b51565

Please sign in to comment.