summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-04-21 23:17:46 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-04-21 23:17:46 (GMT)
commit00bdbe1d97f5d72f46f955ae886f4a0dbf32f7cb (patch)
tree1ba872f8f829ef1f20b9a569c5fb928b2cbdac84 /Lib/test
parent707d1e6cea6834e826e5dbbbcd8593f1c81826b2 (diff)
downloadcpython-00bdbe1d97f5d72f46f955ae886f4a0dbf32f7cb.zip
cpython-00bdbe1d97f5d72f46f955ae886f4a0dbf32f7cb.tar.gz
cpython-00bdbe1d97f5d72f46f955ae886f4a0dbf32f7cb.tar.bz2
Fixed bug in test_logging.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index fdb5564..48add6d 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)