summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-22 05:56:35 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-22 05:56:35 (GMT)
commitb2b6262831694a6b21657f3fbfd1683a87da2823 (patch)
tree883c196f38ff3581fe3a49f3458667f1fcdb158a /Lib
parent4d279c1f80428c094cd5e5fbd1491f16fda177bf (diff)
downloadcpython-b2b6262831694a6b21657f3fbfd1683a87da2823.zip
cpython-b2b6262831694a6b21657f3fbfd1683a87da2823.tar.gz
cpython-b2b6262831694a6b21657f3fbfd1683a87da2823.tar.bz2
Removed some leftovers from the str8 days
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/string_tests.py4
-rw-r--r--Lib/test/test_bytes.py3
2 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py
index e9285a6..909f947 100644
--- a/Lib/test/string_tests.py
+++ b/Lib/test/string_tests.py
@@ -586,10 +586,6 @@ class CommonTest(BaseTest):
a = self.type2test('DNSSEC')
b = self.type2test('')
for c in a:
-## # Special case for the str8, since indexing returns a integer
-## # XXX Maybe it would be a good idea to seperate str8's tests...
-## if self.type2test == str8:
-## c = chr(c)
b += c
hash(b)
self.assertEqual(hash(a), hash(b))
diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py
index 5c3a3ae..659afac 100644
--- a/Lib/test/test_bytes.py
+++ b/Lib/test/test_bytes.py
@@ -801,9 +801,6 @@ class BytearrayPEP3137Test(unittest.TestCase,
test.buffer_tests.MixinBytesBufferCommonTests):
def marshal(self, x):
return bytearray(x)
- # TODO this should become:
- #return bytearray(x)
- # once the bytes -> bytearray and str8 -> bytes rename happens
def test_returns_new_copy(self):
val = self.marshal(b'1234')