-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Crash when assert fails in multiprocessing task #1984
Copy link
Copy link
Closed
Labels
status: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictopic: tracebacksrelated to displaying and handling of tracebacksrelated to displaying and handling of tracebackstype: bugproblem that needs to be addressedproblem that needs to be addressed
Metadata
Metadata
Assignees
Labels
status: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictopic: tracebacksrelated to displaying and handling of tracebacksrelated to displaying and handling of tracebackstype: bugproblem that needs to be addressedproblem that needs to be addressed
Seems that pytest crashes when trying to get the code snippet of an assertion failure when the assertion failure occurs in a
multiprocessingtask.Here's a log of the pytest run https://gist.github.com/adborden/376f2dd3defae8fced33b655913e5f91#file-pytest_crash-log
Here's the test case that causes the crash
https://gist.github.com/adborden/376f2dd3defae8fced33b655913e5f91#file-test_pytest_crash-py
Here's a snippet of the traceback (see above for full stack).
Using pytest-3.0.3 on Ubuntu 15.10
Virtualenv: