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

Method is_rewrite_disabled

src/_pytest/assertion/rewrite.py:763–764  ·  view source on GitHub ↗
(docstring: str)

Source from the content-addressed store, hash-verified

761
762 @staticmethod
763 def is_rewrite_disabled(docstring: str) -> bool:
764 return "PYTEST_DONT_REWRITE" in docstring
765
766 def variable(self) -> str:
767 """Get a new variable."""

Callers 2

runMethod · 0.95
mark_rewriteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected