Home | History | Annotate | Download | only in test

Lines Matching refs:buftype

19         buf = self.buftype("1234567890")
23 buf = self.buftype("1234567890")
32 buf = self.buftype("1234567890")
39 buf = self.buftype("1234567890")
51 buf = self.buftype("1234567890")
81 buf = self.buftype("hello world\n")
84 self.write_ops(memio, self.buftype)
87 self.write_ops(memio, self.buftype)
91 self.assertRaises(ValueError, memio.write, self.buftype(""))
94 buf = self.buftype("1234567890")
111 yield self.buftype('spam')
117 buf = self.buftype("1234567890")
141 buf = self.buftype("1234567890")
152 buf = self.buftype("1234567890")
178 buf = self.buftype("1234567890\n")
195 buf = self.buftype("1234567890\n")
209 buf = self.buftype("1234567890\n")
231 buf = self.buftype("1234567890\n")
253 buf = self.buftype("1234567890")
261 self.assertEqual(memio.getvalue()[-3:], self.buftype("890"))
267 buf = self.buftype("1234567890")
292 buf = self.buftype("1234567890")
302 self.assertEqual(memio.getvalue(), buf + self.buftype('\0') + buf)
305 buf = self.buftype("1234567890")
317 buf = self.buftype("1234567890")
338 buf = self.buftype("1234567890")
361 buf = self.buftype("1234567890")
402 def buftype(s):
408 buf = self.buftype("1234567890")
415 buf = self.buftype("1234567890")
448 buf = self.buftype("1234567890")
480 buf = self.buftype("1234567890")
586 buftype = unicode
595 buftype = unicode
659 buf = self.buftype("\U0002030a\U00020347")