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

Method test_init_nonmodal

Lib/idlelib/idle_test/test_textview.py:56–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 view.ok()
55
56 def test_init_nonmodal(self):
57 view = VW(root, 'Title', 'test text', modal=False)
58 self.assertFalse(VW.transient.called)
59 self.assertFalse(VW.grab_set.called)
60 self.assertFalse(VW.wait_window.called)
61 view.ok()
62
63 def test_ok(self):
64 view = VW(root, 'Title', 'test text', modal=False)

Callers

nothing calls this directly

Calls 3

VWClass · 0.85
assertFalseMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected