[Python-checkins] cpython: fixed the test_uninstall patch
tarek.ziade
python-checkins at python.org
Mon May 30 19:17:37 CEST 2011
http://hg.python.org/cpython/rev/dcf3bf2f3496
changeset: 70526:dcf3bf2f3496
user: Tarek Ziade <tarek at ziade.org>
date: Mon May 30 19:16:49 2011 +0200
summary:
fixed the test_uninstall patch
files:
Lib/packaging/tests/test_uninstall.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/packaging/tests/test_uninstall.py b/Lib/packaging/tests/test_uninstall.py
--- a/Lib/packaging/tests/test_uninstall.py
+++ b/Lib/packaging/tests/test_uninstall.py
@@ -80,12 +80,12 @@
if not dirname:
dirname = self.make_dist(name, **kw)
os.chdir(dirname)
- old_out = sys.stdout
+ old_out = sys.stderr
sys.stderr = StringIO()
try:
dist = self.run_setup('install_dist', '--prefix=' + self.root_dir)
finally:
- sys.sterr = old_out
+ sys.stderr = old_out
install_lib = self.get_path(dist, 'purelib')
return dist, install_lib
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list