-
Notifications
You must be signed in to change notification settings - Fork 15
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
Remove macOS stderr suppression #76
base: main
Are you sure you want to change the base?
Conversation
`contextlib.redirect_stderr` works on Mac, no need to additional clause
We actually had a subtle bug in the previous implementation: when Changes:
|
Thanks! And I need to follow-up on Instagram/LibCST#944 eventually to fix the root cause... |
@kit1980 Github Actions also offers macOS x86 runners - I've added that one and the test pass. Windows is also included now. |
I tried this on my x86 macbook, and the suppression doesn't work.
|
Pity, that version of Mac then probably outputs the stderr to stdout and leaves stderr empty... |
text=True, | ||
check=False, | ||
) | ||
assert ( |
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.
I should also check the stdout here for the macOS issue.
contextlib.redirect_stderr
works on Mac, no need to additional clause