diff --git a/pylossless/conftest.py b/pylossless/conftest.py index 05f5d14..5c4bd20 100644 --- a/pylossless/conftest.py +++ b/pylossless/conftest.py @@ -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.""" diff --git a/pylossless/tests/test_rejection.py b/pylossless/tests/test_rejection.py index 4cbd97c..8a775d9 100644 --- a/pylossless/tests/test_rejection.py +++ b/pylossless/tests/test_rejection.py @@ -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."""