diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-03 11:03:29 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-03 11:03:29 (GMT) |
commit | e5d3bc4700d01a0beb57df84cdf6033acee49e3d (patch) | |
tree | f23705d3b04261bf04f445b4049283ec31b31148 /Lib/test/test_logging.py | |
parent | dee8dadf31a222ff0bd124e630ea88fd9070f9cc (diff) | |
download | cpython-e5d3bc4700d01a0beb57df84cdf6033acee49e3d.zip cpython-e5d3bc4700d01a0beb57df84cdf6033acee49e3d.tar.gz cpython-e5d3bc4700d01a0beb57df84cdf6033acee49e3d.tar.bz2 |
Changed order of cleanup operations to be more sensible.
Diffstat (limited to 'Lib/test/test_logging.py')
-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 d7c8d4f..a06deff 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -1906,8 +1906,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) |