We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 208436c + c14814b commit cbf4a11Copy full SHA for cbf4a11
2 files changed
news/headerfile.rst
@@ -0,0 +1,23 @@
1
+**Added:**
2
+
3
+* <news item>
4
5
+**Changed:**
6
7
8
9
+**Deprecated:**
10
11
12
13
+**Removed:**
14
15
16
17
+**Fixed:**
18
19
+* Normalize paths before assert in `test_serialization/test_load_multiple` to prevent possible Windows short/long name mismatch.
20
21
+**Security:**
22
23
tests/test_serialization.py
@@ -33,7 +33,9 @@ def test_load_multiple(tmp_path, datafile):
33
dt_colnames=["r", "gr"],
34
show_path=True,
35
)
36
- assert headerfile == Path(generated_data[headerfile.name].pop("path"))
+ assert Path(headerfile).resolve() == Path(
37
+ generated_data[headerfile.name].pop("path")
38
+ )
39
40
# rerun without path information and save to file
41
generated_data = serialize_data(
0 commit comments