MCPcopy Index your code
hub / github.com/pydata/xarray / test_bogus_entrypoint

Function test_bogus_entrypoint

xarray/tests/test_parallelcompat.py:262–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260
261
262def test_bogus_entrypoint() -> None:
263 # Create a bogus entry-point as if the user broke their setup.cfg
264 # or is actively developing their new chunk manager
265 entry_point = EntryPoint(
266 "bogus", "xarray.bogus.doesnotwork", "xarray.chunkmanagers"
267 )
268 with pytest.warns(UserWarning, match="Failed to load chunk manager"):
269 assert len(load_chunkmanagers([entry_point])) == 0

Callers

nothing calls this directly

Calls 1

load_chunkmanagersFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…