sys.path munging is not deduplicated #296

Closed
bitprophet opened this Issue Dec 21, 2015 · 0 comments

Projects

None yet

1 participant

@bitprophet
Member

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.

@bitprophet bitprophet added the Bug label Dec 21, 2015
@bitprophet bitprophet added a commit that closed this issue Dec 22, 2015
@bitprophet bitprophet Fix #296 0d99d9e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment