Skip to content

sys.path munging is not deduplicated #296

@bitprophet

Description

@bitprophet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions