diff --git a/anesthetic/_version.py b/anesthetic/_version.py index a33997dd..b15121b0 100644 --- a/anesthetic/_version.py +++ b/anesthetic/_version.py @@ -1 +1 @@ -__version__ = '2.1.0' +__version__ = '2.1.0' \ No newline at end of file diff --git a/tests/test_reader.py b/tests/test_reader.py index ee85fecd..ad28313b 100644 --- a/tests/test_reader.py +++ b/tests/test_reader.py @@ -271,9 +271,9 @@ def test_regex_escape(): @pytest.mark.parametrize('root', ['pc', 'gd']) @pytest.mark.skipif(pytables_imported is False, reason="requires tables package") -def test_hdf5(root): +def test_hdf5(tmp_path, root): samples = read_chains('./tests/example_data/' + root) - filename = 'test_hdf5.h5' + filename = tmp_path / ('test_hdf5' + root + '.h5') key = "samples" with HDFStore(filename) as store: