Skip to content

Commit

Permalink
Fix error ignore flag value for rmtree cleanup of temp test dirs.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Jun 10, 2024
1 parent f608cb4 commit dfd11bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/TestCmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def cleanup(self, condition=None):
list.reverse()
for dir in list:
self.writable(dir, 1)
shutil.rmtree(dir, ignore_errors=1)
shutil.rmtree(dir, ignore_errors=True)

self._dirlist = []
self.workdir = None
Expand Down

0 comments on commit dfd11bb

Please sign in to comment.