diff --git a/hyperspy/tests/io/test_hdf5.py b/hyperspy/tests/io/test_hdf5.py index 9839c3211e..09bd7e1ff9 100644 --- a/hyperspy/tests/io/test_hdf5.py +++ b/hyperspy/tests/io/test_hdf5.py @@ -1011,4 +1011,4 @@ def test_load_future(): s.save("future.hspy") """ with pytest.warns(UserWarning): - future = load(filenames="hdf5_files/future.hspy") + future = load(filenames=my_path / "hdf5_files" / "future.hspy") diff --git a/upcoming_changes/3241.bugfix.rst b/upcoming_changes/3241.bugfix.rst new file mode 100644 index 0000000000..6510c4390d --- /dev/null +++ b/upcoming_changes/3241.bugfix.rst @@ -0,0 +1,2 @@ +Allows for loading of ``.hspy`` files saved with version 2.0.0 and greater and no unit or name set +for some axis. \ No newline at end of file