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

Method test_click_blank

Lib/idlelib/idle_test/test_query.py:347–351  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

345 self.assertTrue(dialog.destroy.called)
346
347 def test_click_blank(self):
348 dialog = self.dialog
349 dialog.button_ok.invoke()
350 self.assertEqual(dialog.result, None)
351 self.assertFalse(dialog.destroy.called)
352
353 def test_click_cancel(self):
354 dialog = self.dialog

Callers

nothing calls this directly

Calls 3

assertFalseMethod · 0.80
invokeMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected