Skip to content

Use EnvironmentVarGuard in tests instead of manually messing with os.environ #128438

Open
@WolframAlph

Description

Feature or enhancement

Proposal:

Some tests manually tweak os.environ. There is new way to do that with EnvironmentVarGuard. Identify all places and update.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions