Skip to content

Commit

Permalink
decorate test (h5py)
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Aug 3, 2022
1 parent 0f9ddd8 commit f971b1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mne/time_frequency/tests/test_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from mne.time_frequency import read_spectrum
from mne.time_frequency.multitaper import _psd_from_mt
from mne.utils import object_diff, requires_pandas
from mne.utils import object_diff, requires_h5py, requires_pandas


def test_spectrum_errors(raw):
Expand Down Expand Up @@ -43,6 +43,7 @@ def test_spectrum_params(method, fmin, fmax, tmin, tmax, picks, proj, n_fft,
raw.compute_psd(**kwargs)


@requires_h5py
def test_spectrum_io(raw, tmp_path):
"""Test save/load of spectrum objects."""
fname = tmp_path / 'spectrum.h5'
Expand Down

0 comments on commit f971b1f

Please sign in to comment.