From 4c271fe85c34dca1bbfcbb206f8d5ad4c70991b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Thu, 7 Jun 2007 13:52:37 +0000 Subject: Fix test_str.py so that it tests the str8 class. Fix string_tests.py::MixinStrUnicodeTest.test_bug1001011(): Test str and str8. --- Lib/test/string_tests.py | 2 +- 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): -- cgit v0.12