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

Method test_initial_state

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

Source from the content-addressed store, hash-verified

501 text.insert('insert', line, 'stdin')
502
503 def test_initial_state(self):
504 sidebar_lines = self.get_sidebar_lines()
505 self.assertEqual(
506 sidebar_lines,
507 [None] * (len(sidebar_lines) - 1) + ['>>>'],
508 )
509 self.assert_sidebar_lines_synced()
510
511 @run_in_tk_mainloop()
512 def test_single_empty_input(self):

Callers

nothing calls this directly

Calls 3

get_sidebar_linesMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected