Skip to content

Commit f9da4c2

Browse files
committed
Fix tests on Windows
1 parent 6afc578 commit f9da4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ def test_plugin(tmp_pathplus: PathPlus, file_regression: FileRegressionFixture):
3232
cov.erase()
3333

3434
buf = output.getvalue().replace(tests.demo_code.__file__, "demo_code.py")
35-
buf = buf.replace(os.path.altsep or os.path.sep, os.path.sep)
35+
buf = buf.replace(os.path.sep, os.path.altsep or os.path.sep)
3636
check_file_regression(buf, file_regression)

0 commit comments

Comments
 (0)