Repository navigation
Commit 4702d24
committed
test: compare against str(Path), not a POSIX literal
The provenance serialization test asserted the rendered Path equalled
'/mnt/raw'. On Windows str(Path('/mnt/raw')) is '\\mnt\\raw', so the
assertion failed on both Windows jobs while passing everywhere else.
The behavior under test is unchanged and was always correct: default=str
stringifies a Path rather than raising. Only the expectation was platform-
specific.1 parent b37dd2b commit 4702d24
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
| |||
0 commit comments