Skip to content

Commit

Permalink
FIX: try another variation of glob in FutureWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-huberty committed Jul 25, 2024
1 parent 6e4128a commit 04345ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pylossless/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# XXX: This is a temporary fix to suppress a warning from MNE-ICAlabel
# This can be removed once MNE-ICAlabel 0.7 is released
@pytest.mark.filterwarnings("ignore:.*weights_only.*:FutureWarning")
@pytest.mark.filterwarnings("ignore:.*You are using.*:FutureWarning")
@pytest.fixture(scope="session")
def pipeline_fixture():
"""Return a namedTuple containing MNE eyetracking raw data and events."""
Expand Down
2 changes: 1 addition & 1 deletion pylossless/tests/test_rejection.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


# XXX: This filter can be removed once MNE-ICAlabel 0.7 is released
@pytest.mark.filterwarnings("ignore:.*weights_only.*:FutureWarning")
@pytest.mark.filterwarnings("ignore::FutureWarning")
@pytest.mark.parametrize("clean_ch_mode", [None, "drop", "interpolate"])
def test_rejection_policy(clean_ch_mode, pipeline_fixture):
"""Test the rejection policy."""
Expand Down

0 comments on commit 04345ef

Please sign in to comment.