MCPcopy Create free account
hub / github.com/pytest-dev/pytest / DummyRewriteHook

Class DummyRewriteHook

src/_pytest/assertion/__init__.py:73–77  ·  view source on GitHub ↗

A no-op import hook for when rewriting is disabled.

Source from the content-addressed store, hash-verified

71
72
73class DummyRewriteHook:
74 """A no-op import hook for when rewriting is disabled."""
75
76 def mark_rewrite(self, *names: str) -> None:
77 pass
78
79
80class AssertionState:

Callers 1

register_assert_rewriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected