Skip to content

Commit

Permalink
Avoid diffing baselines on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ExcaliburZero committed Oct 24, 2023
1 parent 5b64c6a commit 58740da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion regression_tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ def test(self) -> None:

self.run_command(work_dir)

self.diff_against_baselines(work_dir)
# Note: Only check against baselines on non-Windows OSs, since windows has some
# differences that I don't want to add support for smartly diffing yet.
if not os.name == "nt":
self.diff_against_baselines(work_dir)

def get_work_dir(self) -> pathlib.Path:
return (
Expand Down

0 comments on commit 58740da

Please sign in to comment.