8000 bpo-37359: Fix regrtest --cleanup (GH-14336) · python/cpython@9bbf4d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bbf4d7

Browse files
authored
bpo-37359: Fix regrtest --cleanup (GH-14336)
1 parent a8b27e6 commit 9bbf4d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/libregrtest/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,8 @@ def cleanup(self):
592592
path = os.path.join(self.tmp_dir, 'test_python_*')
593593
print("Cleanup %s directory" % self.tmp_dir)
594594
for name in glob.glob(path):
595-
print("Remove directory: %s" % name)
596595
if os.path.isdir(name):
596+
print("Remove directory: %s" % name)
597597
support.rmtree(name)
598598
else:
599599
print("Remove file: %s" % name)

0 commit comments

Comments
 (0)
0