diff options
author | Tarek Ziade <tarek@ziade.org> | 2011-05-30 17:16:49 (GMT) |
---|---|---|
committer | Tarek Ziade <tarek@ziade.org> | 2011-05-30 17:16:49 (GMT) |
commit | 1cc9bbd7513c77599408bb36d893e2b1b1fdfce6 (patch) | |
tree | 49ce829183066f9dc891020f7e7a0a78f2c1ef4d /Lib | |
parent | 371df0574034ad86b7dba9ba8e7d31a6fccde3db (diff) | |
download | cpython-1cc9bbd7513c77599408bb36d893e2b1b1fdfce6.zip cpython-1cc9bbd7513c77599408bb36d893e2b1b1fdfce6.tar.gz cpython-1cc9bbd7513c77599408bb36d893e2b1b1fdfce6.tar.bz2 |
fixed the test_uninstall patch
Diffstat (limited to 'Lib')
-rw-r--r-- | 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 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 |