mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Revert change, func_name of lambda's is back to <lambda>.
This commit is contained in:
@@ -123,7 +123,7 @@ class ReprTests(unittest.TestCase):
|
||||
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user