mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
This commit is contained in:
parent
fda7fe0148
commit
84023247b4
3 changed files with 5 additions and 1 deletions
|
@ -1031,7 +1031,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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue