[Python-checkins] CVS: python/dist/src/Lib/test test_repr.py,1.5,1.6
Jeremy Hylton
jhylton@users.sourceforge.net
Fri, 14 Sep 2001 16:01:51 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv26158
Modified Files:
test_repr.py
Log Message:
limit prefix test for lambda
the compiler package generates a module-unique trailing suffix for
each lambda
Index: test_repr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_repr.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** test_repr.py 2001/09/05 20:08:07 1.5
--- test_repr.py 2001/09/14 23:01:49 1.6
***************
*** 94,98 ****
def test_lambda(self):
self.failUnless(repr(lambda x: x).startswith(
! "<function <lambda> at 0x"))
# XXX anonymous functions? see func_repr
--- 94,98 ----
def test_lambda(self):
self.failUnless(repr(lambda x: x).startswith(
! "<function <lambda"))
# XXX anonymous functions? see func_repr