summaryrefslogtreecommitdiffstats
path: root/Lib/test/string_tests.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-06-07 13:52:37 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-06-07 13:52:37 (GMT)
commit4c271fe85c34dca1bbfcbb206f8d5ad4c70991b4 (patch)
tree829a464451e0492986c140aa7ee83011e1840980 /Lib/test/string_tests.py
parent756f139b976890d5ad3a57cea840a7e8172a7070 (diff)
downloadcpython-4c271fe85c34dca1bbfcbb206f8d5ad4c70991b4.zip
cpython-4c271fe85c34dca1bbfcbb206f8d5ad4c70991b4.tar.gz
cpython-4c271fe85c34dca1bbfcbb206f8d5ad4c70991b4.tar.bz2
Fix test_str.py so that it tests the str8 class.
Fix string_tests.py::MixinStrUnicodeTest.test_bug1001011(): Test str and str8.
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r--Lib/test/string_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py
index 53a3ddb..d5a9a29 100644
--- a/Lib/test/string_tests.py
+++ b/Lib/test/string_tests.py
@@ -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)