aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_msvc9compiler.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-09-26 19:11:04 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-09-26 19:11:04 -0400
commit475e7c869bb60dba329a9642ff13bd10d1cbdced (patch)
treee066085b11ea86475f98d16bc7dcc846c1283c4e /setuptools/tests/test_msvc9compiler.py
parentd501896d27cf94f62b80fe266d9369e681a32de6 (diff)
downloadexternal_python_setuptools-475e7c869bb60dba329a9642ff13bd10d1cbdced.tar.gz
external_python_setuptools-475e7c869bb60dba329a9642ff13bd10d1cbdced.tar.bz2
external_python_setuptools-475e7c869bb60dba329a9642ff13bd10d1cbdced.zip
Meant 'items'
Diffstat (limited to 'setuptools/tests/test_msvc9compiler.py')
-rw-r--r--setuptools/tests/test_msvc9compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_msvc9compiler.py b/setuptools/tests/test_msvc9compiler.py
index 02ced8cf..1c557d39 100644
--- a/setuptools/tests/test_msvc9compiler.py
+++ b/setuptools/tests/test_msvc9compiler.py
@@ -69,7 +69,7 @@ def patch_env(**replacements):
os.environ.update(replacements)
# remove values that are null
- null_keys = (key for (key, value) in replacements if value is None)
+ null_keys = (key for (key, value) in replacements.items() if value is None)
list(map(os.environ.pop, (null_keys)))
yield