summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_egg_info.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-02 10:16:54 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-02 10:16:54 -0500
commitdeef22ce4589e31cc23c4e4d570ee6fab75bd06c (patch)
tree2427f92423d962526ffaa4d139fa8d76c23883d7 /setuptools/tests/test_egg_info.py
parent0822c8ff070891e63471e63b67ea97ff9803c0f5 (diff)
downloadpython-setuptools-git-deef22ce4589e31cc23c4e4d570ee6fab75bd06c.tar.gz
Use update to set the home environment variable.
Diffstat (limited to 'setuptools/tests/test_egg_info.py')
-rw-r--r--setuptools/tests/test_egg_info.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/tests/test_egg_info.py b/setuptools/tests/test_egg_info.py
index 450c898e..77d2eee7 100644
--- a/setuptools/tests/test_egg_info.py
+++ b/setuptools/tests/test_egg_info.py
@@ -46,8 +46,9 @@ class TestEggInfo:
egg-base = %(egg-base)s
""" % paths
))
- environ = os.environ.copy()
- environ['HOME'] = paths['home']
+ environ = os.environ.copy().update(
+ HOME=paths['home'],
+ )
cmd = [
'install',
'--home', paths['home'],