microproduct/deformation-sentiral/ISCEApp/site-packages/h5py/tests/conftest.py

9 lines
143 B
Python
Raw Permalink Normal View History

2023-08-28 10:17:29 +00:00
import h5py
import pytest
@pytest.fixture()
def writable_file(tmp_path):
with h5py.File(tmp_path / 'test.h5', 'w') as f:
yield f