From: Vinay Sajip Date: Thu, 21 Apr 2011 23:17:46 +0000 (+0100) Subject: Fixed bug in test_logging. X-Git-Tag: v3.3.0a1~2523 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00bdbe1d97f5d72f46f955ae886f4a0dbf32f7cb;p=python Fixed bug in test_logging. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index fdb55648fc..48add6d7d9 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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)