From f9e9754c474bdf86ca6c7fab0310ac826f277ca3 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Wed, 27 Feb 2013 23:33:52 +0000 Subject: Closes #17313: Deleted test file created by test_logging. --- Lib/test/test_logging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index c6cd64a..bfa7d77 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -3406,6 +3406,7 @@ class BasicConfigTest(unittest.TestCase): self.addCleanup(expected.close) self.assertEqual(handler.stream.mode, expected.stream.mode) self.assertEqual(handler.stream.name, expected.stream.name) + self.addCleanup(os.remove, 'test.log') def test_filemode(self): logging.basicConfig(filename='test.log', filemode='wb') @@ -3414,6 +3415,7 @@ class BasicConfigTest(unittest.TestCase): expected = logging.FileHandler('test.log', 'wb') self.addCleanup(expected.close) self.assertEqual(handler.stream.mode, expected.stream.mode) + self.addCleanup(os.remove, 'test.log') def test_stream(self): stream = io.StringIO() -- cgit v0.12