Skip to content

Commit

Permalink
TST: fixing _that other_ windows issue...
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrugman authored Sep 20, 2024
1 parent 6850845 commit 154613d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/test_torchfix.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,11 @@ def test_stderr_suppression(tmp_path):
text=True,
check=False,
)
data_path = str(data_path).replace("\\", "\\\\")
assert (
result.stderr == f"Executing codemod...{os.linesep}"
result.stderr == f"Executing codemod...\n"
f"Failed to determine module name for {data_path}: '{data_path}' is not in the "
f"subpath of '' OR one path is relative and the other is absolute.{os.linesep}"
f"Finished checking 1 files.{os.linesep}"
f"Transformed 1 files successfully.{os.linesep}"
f"subpath of '' OR one path is relative and the other is absolute.\n"
f"Finished checking 1 files.\n"
f"Transformed 1 files successfully.\n"
)

0 comments on commit 154613d

Please sign in to comment.