Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ flag_on
Method
flag_on
testing/test_assertrewrite.py:1499–1500 ·
view source on GitHub ↗
(self, pytester: Pytester)
Source
from the content-addressed store, hash-verified
1497
1498
@pytest.fixture
1499
def
flag_on(self, pytester: Pytester):
1500
pytester.makeini(
"[pytest]\nenable_assertion_pass_hook = True\n"
)
1501
1502
@pytest.fixture
1503
def
hook_on(self, pytester: Pytester):
Callers
nothing calls this directly
Calls
1
makeini
Method · 0.45
Tested by
no test coverage detected