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

Function assertSequenceEqual

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

Source from the content-addressed store, hash-verified

64
65
66def assertSequenceEqual(x, y):
67 if len(x) != len(y):
68 raise AssertionError(f"{x!r} should equal {y!r}")
69 if any(ix != iy for ix, iy in zip(x, y)):
70 raise AssertionError(f"{x!r} should equal {y!r}")
71
72
73@contextlib.contextmanager

Callers 7

test_marshalFunction · 0.85
test_monkeypatchFunction · 0.85
test_openFunction · 0.85
test_cantraceFunction · 0.85
test_import_moduleFunction · 0.85
test_builtin__import__Function · 0.85
test_import_statementFunction · 0.85

Calls 1

anyFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…