(self, n)
| 282 | return n |
| 283 | |
| 284 | def read(self, n): |
| 285 | if self.current_frame: |
| 286 | data = self.current_frame.read(n) |
| 287 | if not data and n != 0: |
| 288 | self.current_frame = None |
| 289 | return self.file_read(n) |
| 290 | if len(data) < n: |
| 291 | raise UnpicklingError( |
| 292 | "pickle exhausted before end of frame") |
| 293 | return data |
| 294 | else: |
| 295 | return self._chunked_file_read(n) |
| 296 | |
| 297 | def readline(self): |
| 298 | if self.current_frame: |
no test coverage detected