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

Method test_configure_height

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

Source from the content-addressed store, hash-verified

680 errmsg='-startline must be less than or equal to -endline')
681
682 def test_configure_height(self):
683 widget = self.create()
684 self.checkPixelsParam(widget, 'height', 100, 101.2, 102.6, '3c')
685 if tk_version < (9, 0):
686 self.checkParam(widget, 'height', 0, expected=1)
687 self.checkParam(widget, 'height', -100, expected=1)
688 else:
689 self.checkPixelsParam(widget, 'height', 0, -100)
690
691 def test_configure_maxundo(self):
692 widget = self.create()

Callers

nothing calls this directly

Calls 3

createMethod · 0.95
checkPixelsParamMethod · 0.80
checkParamMethod · 0.80

Tested by

no test coverage detected