[Python-3000-checkins] r55807 - python/branches/py3k-struni/Lib/test/string_tests.py python/branches/py3k-struni/Lib/test/test_str.py
walter.doerwald
python-3000-checkins at python.org
Thu Jun 7 15:52:43 CEST 2007
Author: walter.doerwald
Date: Thu Jun 7 15:52:37 2007
New Revision: 55807
Modified:
python/branches/py3k-struni/Lib/test/string_tests.py
python/branches/py3k-struni/Lib/test/test_str.py
Log:
Fix test_str.py so that it tests the str8 class.
Fix string_tests.py::MixinStrUnicodeTest.test_bug1001011():
Test str and str8.
Modified: python/branches/py3k-struni/Lib/test/string_tests.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/string_tests.py (original)
+++ python/branches/py3k-struni/Lib/test/string_tests.py Thu Jun 7 15:52:37 2007
@@ -1154,7 +1154,7 @@
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)
Modified: python/branches/py3k-struni/Lib/test/test_str.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_str.py (original)
+++ python/branches/py3k-struni/Lib/test/test_str.py Thu Jun 7 15:52:37 2007
@@ -9,7 +9,7 @@
string_tests.MixinStrUnicodeTest,
):
- type2test = str
+ type2test = str8
# We don't need to propagate to str
def fixtype(self, obj):
More information about the Python-3000-checkins
mailing list