From ab4f29a3407d23773103aa1c26504260026d2deb Mon Sep 17 00:00:00 2001 From: Carter Francis Date: Wed, 11 Oct 2023 13:19:20 -0500 Subject: [PATCH] Testing: Change Path to future file and add changelog --- hyperspy/tests/io/test_hdf5.py | 2 +- upcoming_changes/3241.bugfix.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 upcoming_changes/3241.bugfix.rst 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