Skip to content

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

@WolframAlph

Description

@WolframAlph

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

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions