[Python-checkins] python/dist/src/Lib/test test_repr.py, 1.13.2.1, 1.13.2.2

jhylton at users.sourceforge.net jhylton at users.sourceforge.net
Fri Apr 23 23:44:02 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14856

Modified Files:
      Tag: ast-branch
	test_repr.py 
Log Message:
The repr() for lambda is different.


Index: test_repr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_repr.py,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -C2 -d -r1.13.2.1 -r1.13.2.2
*** test_repr.py	28 Apr 2003 17:28:14 -0000	1.13.2.1
--- test_repr.py	24 Apr 2004 03:44:00 -0000	1.13.2.2
***************
*** 106,110 ****
      def test_lambda(self):
          self.failUnless(repr(lambda x: x).startswith(
!             "<function <lambda"))
          # XXX anonymous functions?  see func_repr
  
--- 106,110 ----
      def test_lambda(self):
          self.failUnless(repr(lambda x: x).startswith(
!             "<function lambda"))
          # XXX anonymous functions?  see func_repr
  




More information about the Python-checkins mailing list