(self, name, path, parent=None)
| 476 | return m |
| 477 | |
| 478 | def find_module(self, name, path, parent=None): |
| 479 | if parent is not None: |
| 480 | # assert path is not None |
| 481 | fullname = parent.__name__+'.'+name |
| 482 | else: |
| 483 | fullname = name |
| 484 | if fullname in self.excludes: |
| 485 | self.msgout(3, "find_module -> Excluded", fullname) |
| 486 | raise ImportError(name) |
| 487 | |
| 488 | if path is None: |
| 489 | if name in sys.builtin_module_names: |
| 490 | return (None, None, ("", "", _C_BUILTIN)) |
| 491 | |
| 492 | path = self.path |
| 493 | |
| 494 | return _find_module(name, path) |
| 495 | |
| 496 | def report(self): |
| 497 | """Print a report to stdout, listing the found modules with their |
no test coverage detected