Skip to content

Commit

Permalink
MAINT: Fix for pip-pre
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Feb 8, 2024
1 parent 6857f10 commit 6ad8192
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mne/tests/test_epochs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3086,7 +3086,7 @@ def test_to_data_frame_index(index):
# test index order/hierarchy preservation
if not isinstance(index, list):
index = [index]
assert df.index.names == index
assert list(df.index.names) == index
# test that non-indexed data were present as columns
non_index = list(set(["condition", "time", "epoch"]) - set(index))
if len(non_index):
Expand Down
2 changes: 1 addition & 1 deletion mne/tests/test_source_estimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ def test_to_data_frame_index(index):
# test index setting
if not isinstance(index, list):
index = [index]
assert df.index.names == index
assert list(df.index.names) == index
# test that non-indexed data were present as columns
non_index = list(set(["time", "subject"]) - set(index))
if len(non_index):
Expand Down
2 changes: 1 addition & 1 deletion mne/time_frequency/tests/test_tfr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ def test_to_data_frame_index(index):
# test index order/hierarchy preservation
if not isinstance(index, list):
index = [index]
assert df.index.names == index
assert list(df.index.names) == index
# test that non-indexed data were present as columns
non_index = list(set(["condition", "time", "freq", "epoch"]) - set(index))
if len(non_index):
Expand Down

0 comments on commit 6ad8192

Please sign in to comment.