Fixed bug in test_logging.
This commit is contained in:
parent
707d1e6cea
commit
00bdbe1d97
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue