Skip to content

Commit

Permalink
Merged revisions 71878 via svnmerge from
Browse files Browse the repository at this point in the history
svn+ssh://[email protected]/python/trunk

........
  r71878 | tarek.ziade | 2009-04-25 14:38:08 +0200 (Sat, 25 Apr 2009) | 1 line

  Issue python#4951: Fixed failure in test_httpservers
........
  • Loading branch information
Tarek Ziadé committed Apr 25, 2009
1 parent de8a710 commit 2333608
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Lib/distutils/tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2333608

Please sign in to comment.