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

Method test_long_line

Lib/idlelib/idle_test/test_squeezer.py:63–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61 self.check(expected=10, text='\n' * 10, linewidth=80)
62
63 def test_long_line(self):
64 self.check(expected=3, text='a' * 200, linewidth=80)
65 self.check(expected=3, text='a' * 200 + '\n', linewidth=80)
66
67 def test_several_lines_different_lengths(self):
68 text = dedent("""\

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected