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

Method test_view_text

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

Source from the content-addressed store, hash-verified

155 del cls.orig_error
156
157 def test_view_text(self):
158 view = tv.view_text(root, 'Title', 'test text', modal=False)
159 self.assertIsInstance(view, tv.ViewWindow)
160 self.assertIsInstance(view.viewframe, tv.ViewFrame)
161 view.viewframe.ok()
162
163 def test_view_file(self):
164 view = tv.view_file(root, 'Title', __file__, 'ascii', modal=False)

Callers

nothing calls this directly

Calls 2

assertIsInstanceMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected