MCPcopy
hub / github.com/pytest-dev/pytest / distributions

Function distributions

testing/test_config.py:1551–1552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1549 entry_points = (DummyEntryPoint(),)
1550
1551 def distributions():
1552 return (Distribution(),)
1553
1554 monkeypatch.setattr(importlib.metadata, "distributions", distributions)
1555 with pytest.raises(ImportError):

Callers

nothing calls this directly

Calls 1

DistributionClass · 0.85

Tested by

no test coverage detected