(self)
| 297 | return file.read() |
| 298 | |
| 299 | def _reopen(self): |
| 300 | if self.file and self.file.closed: |
| 301 | mod_type = self.etc[2] |
| 302 | if mod_type==imp.PY_SOURCE: |
| 303 | self.file = open(self.filename, 'r') |
| 304 | elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION): |
| 305 | self.file = open(self.filename, 'rb') |
| 306 | |
| 307 | def _fix_name(self, fullname): |
| 308 | if fullname is None: |
no test coverage detected