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

Method assert_state_disabled

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

Source from the content-addressed store, hash-verified

97 return x, y
98
99 def assert_state_disabled(self):
100 state = self.linenumber.sidebar_text.config()['state']
101 self.assertEqual(state[-1], tk.DISABLED)
102
103 def get_sidebar_text_contents(self):
104 return self.linenumber.sidebar_text.get('1.0', tk.END)

Callers 2

test_insertMethod · 0.95
test_deleteMethod · 0.95

Calls 2

configMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected