diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-03 11:06:52 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-03 11:06:52 (GMT) |
commit | 89282afafbdc29903ff1c29ea26d5510572d494a (patch) | |
tree | 0378aa87d7db29318bb7242e1344c43aec9e3b2c /Lib | |
parent | 39687ee9db2303cabdf1b349ffaa60df1c01ba9d (diff) | |
download | cpython-89282afafbdc29903ff1c29ea26d5510572d494a.zip cpython-89282afafbdc29903ff1c29ea26d5510572d494a.tar.gz cpython-89282afafbdc29903ff1c29ea26d5510572d494a.tar.bz2 |
Changed order of cleanup operations to be more sensible.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 42c873a..16b3fb6 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -2360,8 +2360,8 @@ class HandlerTest(BaseTest): r = logging.makeLogRecord({'msg': 'testing' }) h.handle(r) finally: - h.close() remover.join() + h.close() if os.path.exists(fn): os.unlink(fn) |