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

Function callop

testing/test_assertion.py:325–327  ·  view source on GitHub ↗
(op: str, left: Any, right: Any, verbose: int = 0)

Source from the content-addressed store, hash-verified

323
324
325def callop(op: str, left: Any, right: Any, verbose: int = 0) -> Optional[List[str]]:
326 config = mock_config(verbose=verbose)
327 return plugin.pytest_assertrepr_compare(config, op, left, right)
328
329
330def callequal(left: Any, right: Any, verbose: int = 0) -> Optional[List[str]]:

Callers 2

callequalFunction · 0.85
test_reprcompare_notinFunction · 0.85

Calls 1

mock_configFunction · 0.85

Tested by

no test coverage detected