diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-06-07 13:52:37 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-06-07 13:52:37 +0000 |
commit | 4c271fe85c34dca1bbfcbb206f8d5ad4c70991b4 (patch) | |
tree | 829a464451e0492986c140aa7ee83011e1840980 | |
parent | 756f139b976890d5ad3a57cea840a7e8172a7070 (diff) | |
download | cpython-git-4c271fe85c34dca1bbfcbb206f8d5ad4c70991b4.tar.gz |
Fix test_str.py so that it tests the str8 class.
Fix string_tests.py::MixinStrUnicodeTest.test_bug1001011():
Test str and str8.
-rw-r--r-- | Lib/test/string_tests.py | 2 | ||||
-rw-r--r-- | Lib/test/test_str.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 53a3ddb68c..d5a9a29316 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) diff --git a/Lib/test/test_str.py b/Lib/test/test_str.py index be26b242f6..6fa377966f 100644 --- a/Lib/test/test_str.py +++ b/Lib/test/test_str.py @@ -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): |