Skip to content

Commit 4c599f8

Browse files
committed
normalize path seps
1 parent 108c1f7 commit 4c599f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_io_plumbing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,11 @@ class ChildComponent(Component):
460460
assert len(all_loads) == 2, f"Expected 2 loads (parent + child), got {len(all_loads)}"
461461

462462
# First call should be for parent
463-
assert "/test/parent.txt" in all_loads[0]["path"]
463+
assert "/test/parent.txt" in all_loads[0]["path"].replace("\\", "/")
464464
assert all_loads[0]["format"] == MF6
465465

466466
# Second call should be for child
467-
assert "child1.txt" in all_loads[1]["path"]
467+
assert "child1.txt" in all_loads[1]["path"].replace("\\", "/")
468468
assert all_loads[1]["format"] == MF6
469469

470470
# IMPORTANT: Child should be loaded with cwd = parent's workspace

0 commit comments

Comments
 (0)