diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-06-07 13:52:37 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-06-07 13:52:37 (GMT) |
commit | 4c271fe85c34dca1bbfcbb206f8d5ad4c70991b4 (patch) | |
tree | 829a464451e0492986c140aa7ee83011e1840980 | |
parent | 756f139b976890d5ad3a57cea840a7e8172a7070 (diff) | |
download | cpython-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.
-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 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) diff --git a/Lib/test/test_str.py b/Lib/test/test_str.py index be26b24..6fa3779 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): |