Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
run
Method · 0.95
mark_rewrite
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected