Fixed bug in test_logging.

This commit is contained in:
Vinay Sajip 2011-04-22 00:17:46 +01:00
parent 707d1e6cea
commit 00bdbe1d97
1 changed files with 1 additions and 1 deletions

View 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)