[Python-checkins] python/dist/src/Lib/test test_descr.py, 1.201, 1.202

arigo at users.sourceforge.net arigo at users.sourceforge.net
Sat Aug 7 22:30:06 CEST 2004


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

Modified Files:
	test_descr.py 
Log Message:
Removing tests that fail because of changes in PyString_InternInPlace(),
as discussed on IRC.  The equivalent tests for the new behavior are in
test_builtin.py.


Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.201
retrieving revision 1.202
diff -C2 -d -r1.201 -r1.202
*** test_descr.py	25 Mar 2004 02:19:34 -0000	1.201
--- test_descr.py	7 Aug 2004 20:30:03 -0000	1.202
***************
*** 2294,2313 ****
      vereq(s.lower(), base)
  
-     s = madstring("x y")
-     vereq(s, "x y")
-     verify(intern(s).__class__ is str)
-     verify(intern(s) is intern("x y"))
-     vereq(intern(s), "x y")
- 
-     i = intern("y x")
-     s = madstring("y x")
-     vereq(s, i)
-     verify(intern(s).__class__ is str)
-     verify(intern(s) is i)
- 
-     s = madstring(i)
-     verify(intern(s).__class__ is str)
-     verify(intern(s) is i)
- 
      class madunicode(unicode):
          _rev = None
--- 2294,2297 ----



More information about the Python-checkins mailing list