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

Function check_call

testing/test_unittest.py:1182–1190  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1180 calls = []
1181
1182 def check_call(*args, **kwargs):
1183 calls.append((args, kwargs))
1184 assert args == ("runcall",)
1185
1186 class _pdb:
1187 def runcall(*args, **kwargs):
1188 calls.append((args, kwargs))
1189
1190 return _pdb
1191
1192 monkeypatch.setattr("_pytest.debugging.pytestPDB._init_pdb", check_call)
1193

Callers 6

prepare_release_prFunction · 0.85
announceFunction · 0.85
regenFunction · 0.85
check_linksFunction · 0.85
pre_releaseFunction · 0.85
changelogFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected