diff -r c2a13acd5e2b Lib/test/test_bytes.py --- a/Lib/test/test_bytes.py Tue Nov 12 16:37:55 2013 +0100 +++ b/Lib/test/test_bytes.py Thu Nov 14 11:46:11 2013 -0600 @@ -1303,34 +1303,6 @@ self.assertIsNot(val, newval) -class FixedStringTest(test.string_tests.BaseTest): - - def fixtype(self, obj): - if isinstance(obj, str): - return obj.encode("utf-8") - return super().fixtype(obj) - - # Currently the bytes containment testing uses a single integer - # value. This may not be the final design, but until then the - # bytes section with in a bytes containment not valid - def test_contains(self): - pass - def test_expandtabs(self): - pass - def test_upper(self): - pass - def test_lower(self): - pass - -class ByteArrayAsStringTest(FixedStringTest, unittest.TestCase): - type2test = bytearray - contains_bytes = True - -class BytesAsStringTest(FixedStringTest, unittest.TestCase): - type2test = bytes - contains_bytes = True - - class SubclassTest: def test_basic(self):