(entry: object)
| 158 | pats = tuple(patterns) |
| 159 | |
| 160 | def instance_predicate(entry: object) -> bool: |
| 161 | path = _instance_path(entry) |
| 162 | if path is None: |
| 163 | return False |
| 164 | return any(fnmatch.fnmatchcase(path, p) for p in pats) |
| 165 | |
| 166 | return _select_by_module_instance(instance_predicate, output_only) |
| 167 |
no test coverage detected