Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Larson <[email protected]>
  • Loading branch information
withmywoessner and larsoner authored Jan 23, 2024
1 parent 235f6d3 commit 4e4b369
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mne/tests/test_epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,11 +488,10 @@ def test_average_movements():

def _assert_drop_log_types(drop_log):
__tracebackhide__ = True
assert isinstance(drop_log, tuple), """drop_log should be tuple
or list"""
assert isinstance(drop_log, tuple), "drop_log should be tuple"
assert all(
isinstance(log, tuple) for log in drop_log
), "drop_log[ii] should be tuple or list"
), "drop_log[ii] should be tuple"
assert all(
isinstance(s, str) for log in drop_log for s in log
), "drop_log[ii][jj] should be str"
Expand Down

0 comments on commit 4e4b369

Please sign in to comment.