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

Method test_init_not_empty

Lib/idlelib/idle_test/test_sidebar.py:116–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114 self.assert_sidebar_n_lines(1)
115
116 def test_init_not_empty(self):
117 self.text.insert('insert', 'foo bar\n'*3)
118 self.assert_text_equals('foo bar\n'*3 + '\n')
119 self.assert_sidebar_n_lines(4)
120
121 def test_toggle_linenumbering(self):
122 self.assertEqual(self.linenumber.is_shown, False)

Callers

nothing calls this directly

Calls 3

assert_text_equalsMethod · 0.95
insertMethod · 0.45

Tested by

no test coverage detected