(self, path)
| 359 | |
| 360 | # Does this path represent a directory? |
| 361 | def _is_dir(self, path): |
| 362 | # See if this is a "directory". If so, it's eligible to be part |
| 363 | # of a namespace package. We test by seeing if the name, with an |
| 364 | # appended path separator, exists. |
| 365 | dirpath = path + path_sep |
| 366 | # If dirpath is present in self._files, we have a directory. |
| 367 | return dirpath in self._files |
| 368 | |
| 369 | # Return some information about a module. |
| 370 | def _get_module_info(self, fullname): |
no outgoing calls
no test coverage detected