]> granicus.if.org Git - python/commit
Make test.test_support.EnvironmentVarGuard behave like a dictionary.
authorWalter Dörwald <walter@livinglogic.de>
Fri, 1 May 2009 17:35:37 +0000 (17:35 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Fri, 1 May 2009 17:35:37 +0000 (17:35 +0000)
commit6733bed57e780008f8c78422d2a9676b9a2710cf
tree9ac7e1469b55cba61664a2b07e50566320a814d9
parentca87fa5a5b650de2d4b5cb04fb5847cf631e75eb
Make test.test_support.EnvironmentVarGuard behave like a dictionary.

All changes are mirrored to the underlying os.environ dict, but rolled back
on exit from the with block.
Doc/library/test.rst
Lib/test/test_getopt.py
Lib/test/test_gettext.py
Lib/test/test_ntpath.py
Lib/test/test_optparse.py
Lib/test/test_posixpath.py
Lib/test/test_support.py
Lib/test/test_tcl.py
Lib/test/test_tempfile.py
Lib/test/test_urllib.py
Lib/test/test_xmlrpc.py