Merge pull request #1904 from Artturin/tests-h5py-optional
tests/exporters/test_hdf5.py: skip if no h5py
This commit is contained in:
commit
76f3612245
@ -4,7 +4,7 @@ import pyqtgraph as pg
|
|||||||
from pyqtgraph.exporters import HDF5Exporter
|
from pyqtgraph.exporters import HDF5Exporter
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from numpy.testing import assert_equal
|
from numpy.testing import assert_equal
|
||||||
import h5py
|
h5py = pytest.importorskip("h5py")
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
Loading…
Reference in New Issue
Block a user