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