[Python-checkins] cpython: Fixed bug in test_logging.
vinay.sajip
python-checkins at python.org
Fri Apr 22 01:17:51 CEST 2011
http://hg.python.org/cpython/rev/fecf9e6d7630
changeset: 69528:fecf9e6d7630
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Fri Apr 22 00:17:46 2011 +0100
summary:
Fixed bug in test_logging.
files:
Lib/test/test_logging.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -2356,7 +2356,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list