[Python-checkins] CVS: python/dist/src/Lib/test test_descr.py,1.12,1.13

Tim Peters tim_one@users.sourceforge.net
Thu, 16 Aug 2001 12:50:54 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv1580/lib/test

Modified Files:
	test_descr.py 
Log Message:
test_descr started breaking in yet another way in the same place.


Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** test_descr.py	2001/08/16 16:56:16	1.12
--- test_descr.py	2001/08/16 19:50:51	1.13
***************
*** 882,886 ****
      verify(not c1 != c1)
      verify(not c1 == c2)
!     verify(str(c1).startswith('<C object at '))
      verify(str(c1) == repr(c1))
      verify(-1 not in c1)
--- 882,888 ----
      verify(not c1 != c1)
      verify(not c1 == c2)
!     # Note that the module name appears in str/repr, and that varies
!     # depending on whether this test is run standalone or from a framework.
!     verify(str(c1).find('C instance at ') >= 0)
      verify(str(c1) == repr(c1))
      verify(-1 not in c1)
***************
*** 903,907 ****
      verify(not d1 != d1)
      verify(not d1 == d2)
!     verify(str(d1).startswith('<D object at '))
      verify(str(d1) == repr(d1))
      verify(-1 not in d1)
--- 905,911 ----
      verify(not d1 != d1)
      verify(not d1 == d2)
!     # Note that the module name appears in str/repr, and that varies
!     # depending on whether this test is run standalone or from a framework.
!     verify(str(d1).find('D instance at ') >= 0)
      verify(str(d1) == repr(d1))
      verify(-1 not in d1)