diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-12 17:47:38 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-12 17:47:38 (GMT) |
commit | d5c075143b9fc133b206229c6d86cd6a0c46364a (patch) | |
tree | 212e39282724a9eafa52365cb8fe83ded84dcb32 /Lib/test/test_shutil.py | |
parent | 30c49cb17fab6538c8b25ddb19c4f0ab04097eff (diff) | |
parent | 2f85555531c79184767d4954f20e310beda99421 (diff) | |
download | cpython-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.py | 2 |
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)) |