Index: Lib/test/test_index.py =================================================================== --- Lib/test/test_index.py (revision 77399) +++ Lib/test/test_index.py (working copy) @@ -214,6 +214,9 @@ class StringTestCase(SeqTestCase): seq = "this is a test" +class ByteArrayTestCase(SeqTestCase): + seq = bytearray("this is a test") + class UnicodeTestCase(SeqTestCase): seq = u"this is a test" @@ -301,6 +304,7 @@ BaseTestCase, ListTestCase, TupleTestCase, + ByteArrayTestCase, StringTestCase, UnicodeTestCase, ClassicSeqTestCase,