summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2004-08-07 20:30:03 (GMT)
committerArmin Rigo <arigo@tunes.org>2004-08-07 20:30:03 (GMT)
commit25847813c18b500d661137364b9041c6b08a75ea (patch)
treec97fe5b041eab91584a88689e5922940325d8b55
parent2ee6a7027a3a0ec8f5f20cde485d2d15d1d288fa (diff)
downloadcpython-25847813c18b500d661137364b9041c6b08a75ea.zip
cpython-25847813c18b500d661137364b9041c6b08a75ea.tar.gz
cpython-25847813c18b500d661137364b9041c6b08a75ea.tar.bz2
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.
-rw-r--r--Lib/test/test_descr.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index a224bb9..f1abd3a 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):