projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b27e6
)
bpo-37359: Fix regrtest --cleanup (GH-14336)
author
Victor Stinner
<vstinner@redhat.com>
Mon, 24 Jun 2019 11:19:48 +0000
(13:19 +0200)
committer
GitHub
<noreply@github.com>
Mon, 24 Jun 2019 11:19:48 +0000
(13:19 +0200)
Lib/test/libregrtest/main.py
patch
|
blob
|
history
diff --git
a/Lib/test/libregrtest/main.py
b/Lib/test/libregrtest/main.py
index 98b4420f590e228baae61a6d143a7ef50f9b6309..1dfbe47a2fab5e40919e27959b512bcb9c4d5855 100644
(file)
--- 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)