MCPcopy Index your code
hub / github.com/python/mypy / assert_lines

Method assert_lines

mypyc/test/test_emitwrapper.py:58–60  ·  view source on GitHub ↗
(self, expected: list[str], actual: list[str])

Source from the content-addressed store, hash-verified

56 )
57
58 def assert_lines(self, expected: list[str], actual: list[str]) -> None:
59 actual = [line.rstrip("\n") for line in actual]
60 assert_string_arrays_equal(expected, actual, "Invalid output")

Callers 2

test_check_listMethod · 0.95
test_check_intMethod · 0.95

Calls 2

rstripMethod · 0.80

Tested by

no test coverage detected