Skip to content

Commit

Permalink
FIX: Remove in version
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Dec 19, 2024
1 parent 4ed62e9 commit 7d585c9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions mne/datasets/eegbci/tests/test_eegbci.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# License: BSD-3-Clause
# Copyright the MNE-Python contributors.

import pytest

from mne.datasets import eegbci

Expand All @@ -14,14 +13,3 @@ def test_eegbci_download(tmp_path, fake_retrieve):
fnames = eegbci.load_data(subj, runs=[3], path=tmp_path, update_path=False)
assert len(fnames) == 1, subj
assert fake_retrieve.call_count == 4

# XXX: remove in version 1.9
with pytest.warns(FutureWarning, match="The ``subject``"):
fnames = eegbci.load_data(
subject=subjects, runs=[3], path=tmp_path, update_path=False
)
assert len(fnames) == 4

# XXX: remove in version 1.9
with pytest.raises(ValueError, match="You must pass the parameters"):
fnames = eegbci.load_data(path=tmp_path, update_path=False)

0 comments on commit 7d585c9

Please sign in to comment.