Skip to content

Conversation

devdanzin
Copy link
Contributor

Sorry, #1771 has a flaw: it only applies the scrubbing when tests run on Windows, so the tests fail on other OSes.

This PR fixes that.

@nedbat
Copy link
Owner

nedbat commented Apr 30, 2024

I was also looking at this now. The last scrub also needs to run when not on Windows. You should make this change on your other PR instead of as a new PR, so that we can be sure to get all the cases.

It feels strange to use scrubs += [(r"\\", "/")] everywhere, and I was wondering if there was a way to limit it to only filenames, but I don't see a way without expanding how the scrub() function works.

@nedbat
Copy link
Owner

nedbat commented Apr 30, 2024

See this suggestion: #1768 (comment)

@devdanzin devdanzin closed this Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants