Skip to content

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Dec 26, 2020

We don't need the strict null check since we catch attribute errors. They do it on Pytest side, that seems like established and working for a large user base, so lets use their same implementation as we had before: https://github.com/pytest-dev/pytest/blob/da01ee0a4bb0af780167ecd228ab3ad249511302/src/_pytest/faulthandler.py#L69-L77

fixes #399
fixes #400

@kumaraditya303
Copy link
Contributor

@mxschmitt how about using asyncio.subprocess.PIPE for stderr

@mxschmitt
Copy link
Member Author

@kumaraditya303 we had that in the beginning but it didn't worked, thats why we have such kind of logic to use sys.stderr there.

@mxschmitt mxschmitt force-pushed the bugfix/pytest-fileno branch from 63d9be7 to 3c75e11 Compare December 26, 2020 21:16
@pavelfeldman pavelfeldman merged commit d35d628 into microsoft:master Dec 26, 2020
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.

Interactive mode (REPL) Error !!! Not work with celery
3 participants