-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
xdist breaks inspect.stack() #340
Comments
Original comment by Peter Feiner (BitBucket: peterfeiner, GitHub: peterfeiner): Just tried pytest-2.3.5. It also fails. |
Original comment by Peter Feiner (BitBucket: peterfeiner, GitHub: peterfeiner): Root problem is in execnet. See https://bitbucket.org/hpk42/execnet/issue/15/remote_exec-breaks-inspectstack. |
Original comment by Peter Feiner (BitBucket: peterfeiner, GitHub: peterfeiner): My pleasure :-) The problem is now gone from pytest-xdist. |
Originally reported by: Peter Feiner (BitBucket: peterfeiner, GitHub: peterfeiner)
Simple test:
Works without xidst:
Running with xdist breaks inspect.stack():
Probably an example of what http://stackoverflow.com/questions/16075850/inspect-getsource-and-file-both-dont-work-with-pytest vaguely reported.
The text was updated successfully, but these errors were encountered: