summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-12 17:47:14 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-12 17:47:14 (GMT)
commit2f85555531c79184767d4954f20e310beda99421 (patch)
tree6a7dee718722e9e00358c95ad94a7298ec18918f /Lib/test/test_shutil.py
parentef2462ea3f736c9920c03750d2ea08d4835ffc2d (diff)
parent84023247b432afba7075e87090986bca72a0e8b0 (diff)
downloadcpython-2f85555531c79184767d4954f20e310beda99421.zip
cpython-2f85555531c79184767d4954f20e310beda99421.tar.gz
cpython-2f85555531c79184767d4954f20e310beda99421.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))