Commit 4c271fe8 authored by Walter Dörwald's avatar Walter Dörwald

Fix test_str.py so that it tests the str8 class.

Fix string_tests.py::MixinStrUnicodeTest.test_bug1001011():
Test str and str8.
parent 756f139b
......@@ -1154,7 +1154,7 @@ class MixinStrUnicodeTest:
s2 = "".join([s1])
self.assert_(s1 is s2)
elif t is str:
elif t is str8:
s1 = subclass("abcd")
s2 = "".join([s1])
self.assert_(s1 is not s2)
......
......@@ -9,7 +9,7 @@ class StrTest(
string_tests.MixinStrUnicodeTest,
):
type2test = str
type2test = str8
# We don't need to propagate to str
def fixtype(self, obj):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment