Skip to content

Commit 6c1cfac

Browse files
committed
ignore errors in PGP tests when removing pgphome directory
1 parent b08b927 commit 6c1cfac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/gpgmelib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def setUpPGP():
138138

139139
def tearDownPGP():
140140
if os.path.exists(pgphome):
141-
shutil.rmtree(pgphome)
141+
shutil.rmtree(pgphome, True) # ignore errors
142142

143143

144144
# vim: set filetype=python sts=4 sw=4 et si :

0 commit comments

Comments
 (0)