-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Restore runs-on: windows-latest
#5835
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
Conversation
|
Not following closely, do we know why we have to skip for builds of windows above that value? |
Sorry I don't, at all. I hope someone else will pick this up. I stumbled over this while working on #5796 (comment) When I saw the Bottom line: This PR doesn't fix anything, but
|
tests/test_iostream.py
Outdated
|
|
||
| from pybind11_tests import iostream as m | ||
|
|
||
| if sys.platform == "win32": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if sys.platform == "win32": | |
| if sys.platform.startswith("win32"): |
It's canonical to use startswith when checking sys.platform, though it's often not required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at this with a fresh eye: For a moment I forgot that we have env.WIN. Changed to use that: commit 8b79a85
tests/test_iostream.py
Outdated
| if wv_build >= skip_if_ge: | ||
| pytest.skip( | ||
| f"Windows build {wv_build} >= {skip_if_ge}:" | ||
| " Skipping iostream capture (redirection regression under investigation)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| " Skipping iostream capture (redirection regression under investigation)", | |
| " Skipping iostream capture (redirection regression needs investigation)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: commit 8b79a85
|
Thanks @henryiii! |
Description
test_iostream.pySuggested changelog entry: