summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-12 17:47:38 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-12 17:47:38 (GMT)
commitd5c075143b9fc133b206229c6d86cd6a0c46364a (patch)
tree212e39282724a9eafa52365cb8fe83ded84dcb32 /Lib/test/test_shutil.py
parent30c49cb17fab6538c8b25ddb19c4f0ab04097eff (diff)
parent2f85555531c79184767d4954f20e310beda99421 (diff)
downloadcpython-d5c075143b9fc133b206229c6d86cd6a0c46364a.zip
cpython-d5c075143b9fc133b206229c6d86cd6a0c46364a.tar.gz
cpython-d5c075143b9fc133b206229c6d86cd6a0c46364a.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 522959a..8db1089 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -1037,7 +1037,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))