Merge pull request #1904 from Artturin/tests-h5py-optional

tests/exporters/test_hdf5.py: skip if no h5py
This commit is contained in:
Ogi Moore 2021-07-17 16:35:30 -07:00 committed by GitHub
commit 76f3612245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import pyqtgraph as pg
from pyqtgraph.exporters import HDF5Exporter
import numpy as np
from numpy.testing import assert_equal
import h5py
h5py = pytest.importorskip("h5py")
@pytest.fixture