]> granicus.if.org Git - python/commitdiff
Fixed bug in test_logging.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 21 Apr 2011 23:17:46 +0000 (00:17 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 21 Apr 2011 23:17:46 +0000 (00:17 +0100)
Lib/test/test_logging.py

index fdb55648fcb8c729609e9005342c33559a7f1b9c..48add6d7d919fa54d8d777b83ea6465b78df1924 100644 (file)
@@ -2356,7 +2356,7 @@ class ModuleLevelMiscTest(BaseTest):
     def _test_log(self, method, level=None):
         called = []
         patch(self, logging, 'basicConfig',
-              lambda *a, **kw: called.append(a, kw))
+              lambda *a, **kw: called.append((a, kw)))
 
         recording = RecordingHandler()
         logging.root.addHandler(recording)