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

Function callop

testing/test_assertion.py:433–444  ·  view source on GitHub ↗
(
    op: str,
    left: Any,
    right: Any,
    verbose: int = 0,
    assertion_text_diff_style: str = util.ASSERTION_TEXT_DIFF_STYLE_NDIFF,
)

Source from the content-addressed store, hash-verified

431
432
433def callop(
434 op: str,
435 left: Any,
436 right: Any,
437 verbose: int = 0,
438 assertion_text_diff_style: str = util.ASSERTION_TEXT_DIFF_STYLE_NDIFF,
439) -> list[str] | None:
440 config = mock_config(
441 verbose=verbose,
442 assertion_text_diff_style=assertion_text_diff_style,
443 )
444 return plugin.pytest_assertrepr_compare(config, op, left, right)
445
446
447def callequal(

Callers 5

callequalFunction · 0.85
test_reprcompare_notinFunction · 0.85

Calls 1

mock_configFunction · 0.85

Tested by

no test coverage detected