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

Method assert_text_equals

Lib/idlelib/idle_test/test_sidebar.py:110–111  ·  view source on GitHub ↗
(self, expected)

Source from the content-addressed store, hash-verified

108 self.assertEqual(self.get_sidebar_text_contents(), expected)
109
110 def assert_text_equals(self, expected):
111 return self.assertEqual(self.text.get('1.0', 'end'), expected)
112
113 def test_init_empty(self):
114 self.assert_sidebar_n_lines(1)

Callers 3

test_init_not_emptyMethod · 0.95
test_insertMethod · 0.95
test_deleteMethod · 0.95

Calls 2

assertEqualMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected