MCPcopy Index your code
hub / github.com/RustPython/RustPython / assert_matches_seq

Function assert_matches_seq

extra_tests/snippets/stdlib_itertools.py:227–228  ·  view source on GitHub ↗
(it, seq)

Source from the content-addressed store, hash-verified

225
226
227def assert_matches_seq(it, seq):
228 assert list(it) == list(seq)
229
230
231i = itertools.islice

Callers 1

Calls 1

listClass · 0.85

Tested by

no test coverage detected