mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Merged revisions 71878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71878 | tarek.ziade | 2009-04-25 14:38:08 +0200 (Sat, 25 Apr 2009) | 1 line Issue #4951: Fixed failure in test_httpservers ........
This commit is contained in:
parent
de8a710849
commit
23336083d3
2 changed files with 7 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ def setUp(self):
|
|||
self.platform = sys.platform
|
||||
self.version = sys.version
|
||||
self.sep = os.sep
|
||||
self.environ = os.environ
|
||||
self.environ = dict(os.environ)
|
||||
self.join = os.path.join
|
||||
self.isabs = os.path.isabs
|
||||
self.splitdrive = os.path.splitdrive
|
||||
|
|
@ -51,7 +51,10 @@ def tearDown(self):
|
|||
sys.platform = self.platform
|
||||
sys.version = self.version
|
||||
os.sep = self.sep
|
||||
os.environ = self.environ
|
||||
for k, v in self.environ.items():
|
||||
os.environ[k] = v
|
||||
for k in set(os.environ) - set(self.environ):
|
||||
del os.environ[k]
|
||||
os.path.join = self.join
|
||||
os.path.isabs = self.isabs
|
||||
os.path.splitdrive = self.splitdrive
|
||||
|
|
|
|||
|
|
@ -437,6 +437,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #4951: Fixed failure in test_httpservers.
|
||||
|
||||
- Issue #5795: Fixed test_distutils failure on Debian ppc.
|
||||
|
||||
- Issue #5607: fixed Distutils test_get_platform for Mac OS X fat binaries.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue