diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2005-10-21 18:11:40 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2005-10-21 18:11:40 (GMT) |
commit | ab541bb98e4b0deebc7baaaf6e9e231cd499b77c (patch) | |
tree | 4dd6449db7f9829f2e29739b4dba25284e23a822 /Lib | |
parent | ccd19218bccd70c13c4860d807a713f1dcd59b35 (diff) | |
download | cpython-ab541bb98e4b0deebc7baaaf6e9e231cd499b77c.zip cpython-ab541bb98e4b0deebc7baaaf6e9e231cd499b77c.tar.gz cpython-ab541bb98e4b0deebc7baaaf6e9e231cd499b77c.tar.bz2 |
Revert change, func_name of lambda's is back to <lambda>.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_repr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py index a139473..4ded484 100644 --- a/Lib/test/test_repr.py +++ b/Lib/test/test_repr.py @@ -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): |