mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
2ee6a7027a
commit
25847813c1
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue