[Python-checkins] python/dist/src/Lib/test test_os.py,1.29,1.30
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Thu Feb 17 22:23:23 CET 2005
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1766/Lib/test
Modified Files:
test_os.py
Log Message:
Avoid using items() in environ.update(). Fixes #1124513.
Will backport to 2.4.
Index: test_os.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_os.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- test_os.py 29 Jan 2005 13:29:23 -0000 1.29
+++ test_os.py 17 Feb 2005 21:23:20 -0000 1.30
@@ -227,7 +227,7 @@
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()
More information about the Python-checkins
mailing list