summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-12 17:46:23 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-12 17:46:23 (GMT)
commit0d649406aeda1c78ddd1061e5ece0c58120367ba (patch)
treeae30c5bef93c13550346e3848b4346476a360b88 /Lib/test/test_shutil.py
parentdb7a1d6e15f9e3c85c88c505360240e2a3ce8564 (diff)
downloadcpython-0d649406aeda1c78ddd1061e5ece0c58120367ba.zip
cpython-0d649406aeda1c78ddd1061e5ece0c58120367ba.tar.gz
cpython-0d649406aeda1c78ddd1061e5ece0c58120367ba.tar.bz2
Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
Diffstat (limited to 'Lib/test/test_shutil.py')
-rw-r--r--Lib/test/test_shutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index c458c45..f5adf99 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -443,7 +443,7 @@ class TestShutil(unittest.TestCase):
# now create another tarball using `tar`
tarball2 = os.path.join(root_dir, 'archive2.tar')
tar_cmd = ['tar', '-cf', 'archive2.tar', base_dir]
- with support.change_cwd(root_dir), captured_stdout():
+ with support.change_cwd(root_dir):
spawn(tar_cmd)
self.assertTrue(os.path.isfile(tarball2))