We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c8eaa1 commit 415d5a0Copy full SHA for 415d5a0
1 file changed
mne/viz/tests/test_ica.py
@@ -298,11 +298,14 @@ def test_plot_ica_properties_reject(kind):
298
raw.set_montage("standard_1020")
299
ica = ICA(
300
n_components=2,
301
- method="picard",
302
random_state=0,
303
- fit_params=dict(ortho=False, extended=True),
+ max_iter=1,
304
)
305
- with pytest.warns(RuntimeWarning, match="filtered"), catch_logging(True) as log:
+ with (
+ pytest.warns(RuntimeWarning, match="filtered"),
306
+ pytest.warns(Warning, match="converge"),
307
+ catch_logging(True) as log,
308
+ ):
309
ica.fit(raw, reject=dict(eeg=500e-6))
310
log = log.getvalue()
311
assert log.count("Artifact detected") == 1 # dropped one epoch
0 commit comments