(self, func)
| 112 | return True |
| 113 | |
| 114 | def can_call(self, func): |
| 115 | if self.allow_any_calls: |
| 116 | return True |
| 117 | |
| 118 | if func in self.allowed_calls: |
| 119 | return True |
| 120 | |
| 121 | owner_method = _unbind_method(func) |
| 122 | |
| 123 | if owner_method and owner_method in self.allowed_calls: |
| 124 | return True |
| 125 | |
| 126 | |
| 127 | def _get_external(module_name: str, access_path: Sequence[str]): |
no test coverage detected