MCPcopy Create free account
hub / github.com/dask/dask / ErrorEP

Class ErrorEP

dask/tests/test_cli.py:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 )
217
218 class ErrorEP:
219 @property
220 def name(self):
221 return "foo"
222
223 def load(self):
224 raise ImportError("Entrypoint could not be imported")
225
226 with pytest.warns(UserWarning, match="must be instances of"):
227 _register_command_ep(dummy_cli, bad_ep)

Callers 1

test_register_command_epFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_register_command_epFunction · 0.68