conftest.py 143 B

12345678
  1. import h5py
  2. import pytest
  3. @pytest.fixture()
  4. def writable_file(tmp_path):
  5. with h5py.File(tmp_path / 'test.h5', 'w') as f:
  6. yield f