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

Method test_configure_height

Lib/test/test_ttk/test_widgets.py:1012–1017  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1010 return ttk.Notebook(self.root, **kwargs)
1011
1012 def test_configure_height(self):
1013 widget = self.create()
1014 if get_tk_patchlevel(self.root) < (8, 6, 15):
1015 self.checkIntegerParam(widget, 'height', 402, -402, 0)
1016 else:
1017 self.checkPixelsParam(widget, 'height', '10c', 402, -402, 0)
1018
1019 def test_configure_width(self):
1020 widget = self.create()

Callers

nothing calls this directly

Calls 4

createMethod · 0.95
get_tk_patchlevelFunction · 0.90
checkIntegerParamMethod · 0.80
checkPixelsParamMethod · 0.80

Tested by

no test coverage detected