You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix testcmdline when it is run with py.test -n0 (#5113)
The test runner sets PYTHONPATH when parallelized but not with -n0.
Our subprocess was depending on this to find mypy. We should set up
the state we care about ourselves, so just do that.
The common failure mode here was the tests failing, but I also ran
into a more terrifying mode where it was invoking my installed system
mypy!
This is basically the same fix elazarg proposed in #4127 but that
never went anywhere for unclear reasons.
Fixes#4127.
0 commit comments