Noticed when debugging a silly test runner corner case that my sys.path had approximately 1 zillion copies of some of my test dirs; tracked it down to Loader naively adding to sys.path without testing beforehand.
Granted, this probably only comes up in our own test suite, but you never know what users might stumble on this for other, legit use cases.
Noticed when debugging a silly test runner corner case that my
sys.pathhad approximately 1 zillion copies of some of my test dirs; tracked it down toLoadernaively adding tosys.pathwithout testing beforehand.Granted, this probably only comes up in our own test suite, but you never know what users might stumble on this for other, legit use cases.