Skip to content

Commit

Permalink
Update test_noise.py
Browse files Browse the repository at this point in the history
Co-authored-by: Wu-Jung Lee <[email protected]>
  • Loading branch information
ctuguinay and leewujung authored Jul 12, 2024
1 parent 90eaefb commit f5b5c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion echopype/tests/clean/test_noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_transient_mask_noise_func_error_and_warnings(caplog):
# Check for expected warning
expected_warning = (
"`func=nanmedian` is an incredibly slow operation due to the overhead sorting. "
"In the future, Echopype will include the Fielding Transient Noise Filter "
"We plan to add the Fielding Transient Noise Filter in the future"
"described here: https://github.com/OSOceanAcoustics/echopype/issues/1352"
)
assert any(expected_warning in record.message for record in caplog.records)

Check failure on line 131 in echopype/tests/clean/test_noise.py

View workflow job for this annotation

GitHub Actions / 3.9--ubuntu-latest

test_transient_mask_noise_func_error_and_warnings assert False + where False = any(<generator object test_transient_mask_noise_func_error_and_warnings.<locals>.<genexpr> at 0x7f2eadd62ac0>)
Expand Down

0 comments on commit f5b5c88

Please sign in to comment.