Home | History | Annotate | Download | only in test

Lines Matching refs:readinto1

367             self.assertEqual(f.readinto1(data), 5)
896 for method in ("readinto", "readinto1"):
939 # Exercise the default BufferedIOBase.readinto() and readinto1()
959 ("readinto1", 10, 5, 5), # Result limited to single read1() call
960 ("readinto1", 10, 6, 5), # Buffer larger than read1() can return
961 ("readinto1", 5, 6, 5), # Buffer larger than total available
962 ("readinto1", 6, 7, 5),
963 ("readinto1", 10, 0, 0), # Empty buffer
1308 self.assertEqual(bufio.readinto1(b), 2)
1311 self.assertEqual(bufio.readinto1(b), 1)
1314 self.assertEqual(bufio.readinto1(b), 2)
1320 self.assertEqual(bufio.readinto1(b), 6)
1357 n = bufio.readinto1(b)
1967 for method in ("readinto", "readinto1"):
3867 if hasattr(f, "readinto1"):
3868 self.assertRaises(ValueError, f.readinto1, bytearray(1024))