Commits

Georg Brandl committed 768bcff

Byte items *can* be chars in 2.6.

Comments (0)

Files changed (1)

Lib/test/test_bytes.py

         self.assertRaises(TypeError, self.type2test, 0.0)
         class C:
             pass
-        self.assertRaises(TypeError, self.type2test, ["0"])
+        # allowed in 2.6
+        #self.assertRaises(TypeError, self.type2test, ["0"])
         self.assertRaises(TypeError, self.type2test, [0.0])
         self.assertRaises(TypeError, self.type2test, [None])
         self.assertRaises(TypeError, self.type2test, [C()])