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

Method test_bind_not_ok

Lib/idlelib/idle_test/test_config_key.py:98–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 self.assertEqual(self.dialog.showerror.message, '')
97
98 def test_bind_not_ok(self):
99 self.assertFalse(self.dialog.bind_ok('<Control-Shift>'))
100 self.assertIn('not accepted', self.dialog.showerror.message)
101
102
103class ToggleLevelTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

assertFalseMethod · 0.80
bind_okMethod · 0.80
assertInMethod · 0.80

Tested by

no test coverage detected