From 1cc9bbd7513c77599408bb36d893e2b1b1fdfce6 Mon Sep 17 00:00:00 2001 From: Tarek Ziade Date: Mon, 30 May 2011 19:16:49 +0200 Subject: fixed the test_uninstall patch --- Lib/packaging/tests/test_uninstall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/packaging/tests/test_uninstall.py b/Lib/packaging/tests/test_uninstall.py index d5a2521..45ce4ca 100644 --- a/Lib/packaging/tests/test_uninstall.py +++ b/Lib/packaging/tests/test_uninstall.py @@ -80,12 +80,12 @@ class UninstallTestCase(support.TempdirManager, 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 -- cgit v0.12