Lines Matching refs:BytesIO
188 fout = aifc.open(io.BytesIO(), 'wb')
197 fout = aifc.open(io.BytesIO(), 'wb')
224 f = io.BytesIO()
244 f = io.BytesIO(b'\x00')
251 f = io.BytesIO()
260 b1 = io.BytesIO(b'WRNG' + struct.pack('>L', 0))
261 b2 = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'WRNG')
266 b = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'AIFF')
276 aifc.open(io.BytesIO(b))
283 self.assertRaises(aifc.Error, aifc.open, io.BytesIO(b))
293 aifc.open(io.BytesIO(b))
303 aifc.open(io.BytesIO(b))
312 f = aifc.open(io.BytesIO(b))
324 f = aifc.open(io.BytesIO(b))
335 f = aifc.open(io.BytesIO(b))
340 fout = aifc.open(io.BytesIO(), 'wb')
367 fout = aifc.open(io.BytesIO(), 'wb')
386 fout = aifc.open(io.BytesIO(), 'wb')
394 fout = aifc.open(io.BytesIO(), 'wb')
396 fout = aifc.open(io.BytesIO(), 'wb')
399 fout = aifc.open(io.BytesIO(), 'wb')
406 fout = aifc.open(io.BytesIO(), 'wb')
413 fout = aifc.open(io.BytesIO(), 'wb')