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

Method test_nowrap

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

Source from the content-addressed store, hash-verified

182 self.assertEqual(tv.showerror.title, 'Unicode Decode Error')
183
184 def test_nowrap(self):
185 view = tv.view_text(root, 'Title', 'test', modal=False, wrap='none')
186 text_widget = view.viewframe.textframe.text
187 self.assertEqual(text_widget.cget('wrap'), 'none')
188
189
190# Call ViewWindow with _utest=True.

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
cgetMethod · 0.45

Tested by

no test coverage detected