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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd32138e7dc66633b8804cd8e59ada5f9f5472c1;p=python 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 f635edbb13..cd9675a839 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")) + "