summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_netrc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_netrc.py')
-rw-r--r--Lib/test/test_netrc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_netrc.py b/Lib/test/test_netrc.py
index ae53988..7ce7e56 100644
--- a/Lib/test/test_netrc.py
+++ b/Lib/test/test_netrc.py
@@ -154,6 +154,7 @@ class NetrcTestCase(unittest.TestCase):
called.append(s)
with support.EnvironmentVarGuard() as environ:
environ.set('HOME', fake_home)
+ environ.set('USERPROFILE', fake_home)
result = orig_expanduser(s)
return result