MCPcopy Index your code
hub / github.com/python/cpython / assertEqual

Function assertEqual

Lib/test/audit-tests.py:51–53  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

49
50# Simple helpers, since we are not in unittest here
51def assertEqual(x, y):
52 if x != y:
53 raise AssertionError(f"{x!r} should equal {y!r}")
54
55
56def assertIn(el, series):

Callers 5

test_basicFunction · 0.85
test_marshalFunction · 0.85
test_pickleFunction · 0.85
test_mmapFunction · 0.85
test_sys_remote_execFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…