Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Mar 8, 2024
1 parent 0abefde commit 152ef1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions mne_icalabel/iclabel/network/tests/test_network.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import platform
from importlib.resources import files

Expand Down
6 changes: 4 additions & 2 deletions mne_icalabel/iclabel/tests/test_label_components.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import platform

import numpy as np
Expand Down Expand Up @@ -130,8 +131,9 @@ def test_warnings():
random_state=101,
)
ica.fit(raw)
with pytest.warns(RuntimeWarning, match="common average reference"), pytest.warns(
RuntimeWarning, match="not filtered between 1 and 100 Hz"
with (
pytest.warns(RuntimeWarning, match="common average reference"),
pytest.warns(RuntimeWarning, match="not filtered between 1 and 100 Hz"),
):
iclabel_label_components(raw, ica)
with raw.info._unlock():
Expand Down

0 comments on commit 152ef1f

Please sign in to comment.