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