Use EnvironmentVarGuard
in tests instead of manually messing with os.environ
#128438
Labels
tests
Tests in the Lib/test dir
Feature or enhancement
Proposal:
Some tests manually tweak
os.environ
. There is new way to do that withEnvironmentVarGuard
. 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
EnvironmentVarGuard
fortest_urllib
,test_urllib2.py
andurllib2_localnet.py
#128439EnvironmentVarGuard
fortest_builtin.py
,test_io.py
andtest_locale.py
#128476EnvironmentVarGuard
fortest_pdb.py
#128522The text was updated successfully, but these errors were encountered: