Lines Matching refs:BytesIO
188 fout = aifc.open(io.BytesIO(), 'wb')
197 fout = aifc.open(io.BytesIO(), 'wb')
225 f = io.BytesIO()
245 f = io.BytesIO(b'\x00')
252 f = io.BytesIO()
261 b1 = io.BytesIO(b'WRNG' + struct.pack('>L', 0))
262 b2 = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'WRNG')
267 b = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'AIFF')
277 aifc.open(io.BytesIO(b))
284 self.assertRaises(aifc.Error, aifc.open, io.BytesIO(b))
294 aifc.open(io.BytesIO(b))
304 aifc.open(io.BytesIO(b))
313 f = aifc.open(io.BytesIO(b))
325 f = aifc.open(io.BytesIO(b))
336 f = aifc.open(io.BytesIO(b))
341 fout = aifc.open(io.BytesIO(), 'wb')
368 fout = aifc.open(io.BytesIO(), 'wb')
387 fout = aifc.open(io.BytesIO(), 'wb')
395 fout = aifc.open(io.BytesIO(), 'wb')
397 fout = aifc.open(io.BytesIO(), 'wb')
400 fout = aifc.open(io.BytesIO(), 'wb')
407 fout = aifc.open(io.BytesIO(), 'wb')
414 fout = aifc.open(io.BytesIO(), 'wb')