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

Method test_configure_width

Lib/test/test_tkinter/test_widgets.py:354–360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

352 menu.destroy()
353
354 def test_configure_width(self):
355 widget = self.create()
356 if tk_version < (8, 7) or (tk_version[:2] == (9, 0) and get_tk_patchlevel(self.root) < (9, 0, 1)):
357 conv = str
358 else:
359 conv = False
360 self.checkIntegerParam(widget, 'width', 402, -402, 0, conv=conv)
361
362
363class OptionMenuTest(MenubuttonTest, unittest.TestCase):

Callers

nothing calls this directly

Calls 3

createMethod · 0.95
get_tk_patchlevelFunction · 0.90
checkIntegerParamMethod · 0.80

Tested by

no test coverage detected