Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCons: Fix pytest asserts on Windows #86083

Closed
wants to merge 1 commit into from

Conversation

Repiteo
Copy link
Contributor

@Repiteo Repiteo commented Dec 12, 2023

Despite the script normally only running in the static checks on Ubuntu 22.04, it should still be possible to run the script on Windows if desired. Previously, this would always fail the assertion checks, as it tries to compare against different path separators. This PR fixes that by changing the parsed path separators to a Unix format. Additionally, this adds a new ignore for .pytest_cache, to exclude the cached data folder explicitly

@Repiteo Repiteo requested a review from a team as a code owner December 12, 2023 17:14
@Repiteo Repiteo changed the title Fix pytest asserts on Windows SCons: Fix pytest asserts on Windows Dec 12, 2023
@AThousandShips AThousandShips added this to the 4.3 milestone Dec 12, 2023
@Repiteo
Copy link
Contributor Author

Repiteo commented May 11, 2024

Superseded by #91840

@Repiteo Repiteo closed this May 11, 2024
@Repiteo Repiteo deleted the pytest-windows-fix branch May 11, 2024 16:51
@AThousandShips AThousandShips removed this from the 4.3 milestone May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants