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

Method check

Lib/idlelib/idle_test/test_squeezer.py:36–40  ·  view source on GitHub ↗
(self, expected, text, linewidth)

Source from the content-addressed store, hash-verified

34class CountLinesTest(unittest.TestCase):
35 """Tests for the count_lines_with_wrapping function."""
36 def check(self, expected, text, linewidth):
37 return self.assertEqual(
38 expected,
39 count_lines_with_wrapping(text, linewidth),
40 )
41
42 def test_count_empty(self):
43 """Test with an empty string."""

Callers 3

test_empty_linesMethod · 0.95
test_long_lineMethod · 0.95

Calls 2

assertEqualMethod · 0.45

Tested by

no test coverage detected