summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-02-17 21:23:20 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-02-17 21:23:20 (GMT)
commit5510f65f5a033eb8d0e9d90046087047410846f9 (patch)
treea4c660c83698b3404579c565f1072c3b5bbd5191 /Lib/test/test_os.py
parent3040b199768dbf1fc93ecb95dbd27ef9485fa03d (diff)
downloadcpython-5510f65f5a033eb8d0e9d90046087047410846f9.zip
cpython-5510f65f5a033eb8d0e9d90046087047410846f9.tar.gz
cpython-5510f65f5a033eb8d0e9d90046087047410846f9.tar.bz2
Avoid using items() in environ.update(). Fixes #1124513.
Will backport to 2.4.
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index cce6926..2bc5fc0 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -227,7 +227,7 @@ class EnvironTests(mapping_tests.BasicTestMappingProtocol):
os.environ.update(self.__save)
# Bug 1110478
- def test_update(self):
+ def test_update2(self):
if os.path.exists("/bin/sh"):
os.environ.update(HELLO="World")
value = os.popen("/bin/sh -c 'echo $HELLO'").read().strip()