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