Get empty epochs from mne.io.tests.data.
()
| 457 | |
| 458 | @pytest.fixture() |
| 459 | def epochs_empty(): |
| 460 | """Get empty epochs from mne.io.tests.data.""" |
| 461 | epochs = _get_epochs(meg=True, eeg=True).load_data() |
| 462 | with pytest.warns(RuntimeWarning, match="were dropped"): |
| 463 | epochs.drop_bad(reject={"mag": 1e-20}) |
| 464 | |
| 465 | return epochs |
| 466 | |
| 467 | |
| 468 | @pytest.fixture(scope="session", params=[testing._pytest_param()]) |
nothing calls this directly
no test coverage detected