Home | History | Annotate | Download | only in test

Lines Matching full:bytearray

275         self.assertEqual(f.write(bytearray(b" world\n\n\n")), 9)
288 data = bytearray(data)
297 self.assertEqual(f.readinto(bytearray(b"x")), 0)
301 self.assertEqual(f.readinto(bytearray()), 0)
828 b = bytearray(2)
905 s = bytes(bytearray(l))
934 c = bytes(bytearray([i]))
1368 data = bytearray(5)
1504 b = bytearray(n if n >= 0 else 9999)
1562 bufio.readinto(bytearray(1))
1605 expected = bytearray(b)
1632 buf = bytearray(1)
1728 self.buffer = bytearray()
1736 self.buffer = bytearray(buffer)
1770 self.buffer = bytearray()
2714 self.assertRaises(ValueError, f.readinto, bytearray(1024))