| 224 | ) |
| 225 | |
| 226 | class ErrorEP: |
| 227 | @property |
| 228 | def name(self): |
| 229 | return "foo" |
| 230 | |
| 231 | def load(self): |
| 232 | raise ImportError("Entrypoint could not be imported") |
| 233 | |
| 234 | with pytest.warns(UserWarning, match="must be instances of"): |
| 235 | _register_command_ep(dummy_cli, bad_ep) |
no outgoing calls
searching dependent graphs…