Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions news/headerfile.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* Normalize paths before assert in `test_serialization/test_load_multiple` to prevent possible Windows short/long name mismatch.

**Security:**

* <news item>
4 changes: 3 additions & 1 deletion tests/test_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def test_load_multiple(tmp_path, datafile):
dt_colnames=["r", "gr"],
show_path=True,
)
assert headerfile == Path(generated_data[headerfile.name].pop("path"))
assert Path(headerfile).resolve() == Path(
generated_data[headerfile.name].pop("path")
)

# rerun without path information and save to file
generated_data = serialize_data(
Expand Down
Loading