mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Ignore exceptions on test handler closing.
This commit is contained in:
@@ -1907,7 +1907,10 @@ class HandlerTest(BaseTest):
|
||||
h.handle(r)
|
||||
finally:
|
||||
remover.join()
|
||||
h.close()
|
||||
try:
|
||||
h.close()
|
||||
except ValueError:
|
||||
pass
|
||||
if os.path.exists(fn):
|
||||
os.unlink(fn)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user