mirror of https://github.com/python/cpython.git
Revert change, func_name of lambda's is back to <lambda>.
This commit is contained in:
parent
ccd19218bc
commit
ab541bb98e
|
@ -123,7 +123,7 @@ def test_file(self):
|
|||
|
||||
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):
|
||||
|
|
Loading…
Reference in New Issue