[Python-checkins] python/dist/src/Lib/test test_repr.py,1.20,1.21
nascheme@users.sourceforge.net
nascheme at users.sourceforge.net
Fri Oct 21 20:11:43 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20151/Lib/test
Modified Files:
test_repr.py
Log Message:
Revert change, func_name of lambda's is back to <lambda>.
Index: test_repr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_repr.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- test_repr.py 20 Oct 2005 19:59:24 -0000 1.20
+++ test_repr.py 21 Oct 2005 18:11:40 -0000 1.21
@@ -123,7 +123,7 @@
def test_lambda(self):
self.failUnless(repr(lambda x: x).startswith(
- "<function lambda"))
+ "<function <lambda"))
# XXX anonymous functions? see func_repr
def test_builtin_function(self):
More information about the Python-checkins
mailing list