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

Method test_configure_width

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

Source from the content-addressed store, hash-verified

1017 self.checkPixelsParam(widget, 'height', '10c', 402, -402, 0)
1018
1019 def test_configure_width(self):
1020 widget = self.create()
1021 if get_tk_patchlevel(self.root) < (8, 6, 15):
1022 self.checkIntegerParam(widget, 'width', 402, -402, 0)
1023 else:
1024 self.checkPixelsParam(widget, 'width', '10c', 402, -402, 0)
1025
1026 def test_tab_identifiers(self):
1027 self.nb.forget(0)

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