]> granicus.if.org Git - python/commitdiff
Removing tests that fail because of changes in PyString_InternInPlace(),
authorArmin Rigo <arigo@tunes.org>
Sat, 7 Aug 2004 20:30:03 +0000 (20:30 +0000)
committerArmin Rigo <arigo@tunes.org>
Sat, 7 Aug 2004 20:30:03 +0000 (20:30 +0000)
as discussed on IRC.  The equivalent tests for the new behavior are in
test_builtin.py.

Lib/test/test_descr.py

index a224bb90fd94bac44b6213c7810ea661c5efa9fc..f1abd3a503dbc2321b54224c55189cb715cc8657 100644 (file)
@@ -2293,22 +2293,6 @@ def inherits():
     verify(s.lower().__class__ is str)
     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
         def rev(self):