diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-24 11:37:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-24 11:37:55 (GMT) |
commit | 366dac99c0c0c416a37874140696f59178db4e43 (patch) | |
tree | 58bba63693defc123cd8d7c160e04437006b1a70 /Lib | |
parent | 2ec4545ebe49c62fdc60b0cf627e3aabe1bca037 (diff) | |
download | cpython-366dac99c0c0c416a37874140696f59178db4e43.zip cpython-366dac99c0c0c416a37874140696f59178db4e43.tar.gz cpython-366dac99c0c0c416a37874140696f59178db4e43.tar.bz2 |
bpo-37359: Fix regrtest --cleanup (GH-14336)
(cherry picked from commit 9bbf4d7083a819cbcee2a6cd3df2802d4c50f734)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/libregrtest/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index 98b4420..1dfbe47 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py @@ -592,8 +592,8 @@ class Regrtest: path = os.path.join(self.tmp_dir, 'test_python_*') print("Cleanup %s directory" % self.tmp_dir) for name in glob.glob(path): - print("Remove directory: %s" % name) if os.path.isdir(name): + print("Remove directory: %s" % name) support.rmtree(name) else: print("Remove file: %s" % name) |