Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Introduce a backdoor around PYTHONPATH scrubbing in pytest runs. #5767
That is an excellent question. I think I did it this way because my .bashrc previously set PYTHONPATH, and I suddenly noticed it was being scrubbed, so I was thinking in terms of setting some other env var, and making it an option never occurred to me.
But of course that env var can set an option... Will change.