Skip to content

Commit 89282af

Browse files
committed
Changed order of cleanup operations to be more sensible.
1 parent 39687ee commit 89282af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/test/test_logging.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2360,8 +2360,8 @@ def remove_loop(fname, tries):
23602360
r = logging.makeLogRecord({'msg': 'testing' })
23612361
h.handle(r)
23622362
finally:
2363-
h.close()
23642363
remover.join()
2364+
h.close()
23652365
if os.path.exists(fn):
23662366
os.unlink(fn)
23672367

0 commit comments

Comments
 (0)