(self, size=None)
| 399 | #BytesIO that reads a random number of bytes at a time |
| 400 | class BytesIOSRandomSize(BytesIO): |
| 401 | def read(self, size=None): |
| 402 | import random |
| 403 | size = random.randint(1, size) |
| 404 | return super().read(size) |
| 405 | |
| 406 | |
| 407 | def roundtrip(arr): |
no outgoing calls
no test coverage detected