Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 00bdbe1

Browse files
committed
Fixed bug in test_logging.
1 parent 707d1e6 commit 00bdbe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2356,7 +2356,7 @@ def test_disable(self):
23562356
def _test_log(self, method, level=None):
23572357
called = []
23582358
patch(self, logging, 'basicConfig',
2359-
lambda *a, **kw: called.append(a, kw))
2359+
lambda *a, **kw: called.append((a, kw)))
23602360

23612361
recording = RecordingHandler()
23622362
logging.root.addHandler(recording)

0 commit comments

Comments
 (0)