()
| 260 | |
| 261 | |
| 262 | def 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…