From: Jeremy Hylton Date: Fri, 14 Sep 2001 23:01:49 +0000 (+0000) Subject: limit prefix test for lambda X-Git-Tag: v2.2.1c1~1792 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd32138e7dc66633b8804cd8e59ada5f9f5472c1;p=thirdparty%2FPython%2Fcpython.git limit prefix test for lambda the compiler package generates a module-unique trailing suffix for each lambda --- diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py index f635edbb13f7..cd9675a839d2 100644 --- a/Lib/test/test_repr.py +++ b/Lib/test/test_repr.py @@ -93,7 +93,7 @@ class ReprTests(unittest.TestCase): def test_lambda(self): self.failUnless(repr(lambda x: x).startswith( - " at 0x")) + "