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

Class DummyRewriteHook

src/_pytest/assertion/__init__.py:113–117  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

111
112
113class DummyRewriteHook:
114 """A no-op import hook for when rewriting is disabled."""
115
116 def mark_rewrite(self, *names: str) -> None:
117 pass
118
119
120class AssertionState:

Callers 2

__init__Method · 0.90
register_assert_rewriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected