From: Armin Rigo Date: Sat, 7 Aug 2004 20:30:03 +0000 (+0000) Subject: Removing tests that fail because of changes in PyString_InternInPlace(), X-Git-Tag: v2.4a3~343 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25847813c18b500d661137364b9041c6b08a75ea;p=python 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. --- diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index a224bb90fd..f1abd3a503 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -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):