]> granicus.if.org Git - python/commitdiff
Correctly call the base class tearDown();
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sat, 29 Mar 2008 01:42:31 +0000 (01:42 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sat, 29 Mar 2008 01:42:31 +0000 (01:42 +0000)
otherwise running test_logging twice produce the errors we see on all buildbots

Lib/test/test_logging.py

index 1fac498d0272cac00ef8fd613357ab7ca94422c1..b937411c038ca2d97db2c5d072549f656604220a 100644 (file)
@@ -450,6 +450,7 @@ class MemoryHandlerTest(BaseTest):
 
     def tearDown(self):
         self.mem_hdlr.close()
+        BaseTest.tearDown(self)
 
     def test_flush(self):
         # The memory handler flushes to its target handler based on specific