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

Method test_configure_from

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

Source from the content-addressed store, hash-verified

1207 self.checkIntegerParam(widget, 'digits', 5, 0)
1208
1209 def test_configure_from(self):
1210 widget = self.create()
1211 conv = float if get_tk_patchlevel(self.root) >= (8, 6, 10) else float_round
1212 self.checkFloatParam(widget, 'from', 100, 14.9, 15.1, conv=conv)
1213
1214 def test_configure_label(self):
1215 widget = self.create()

Callers

nothing calls this directly

Calls 3

createMethod · 0.95
get_tk_patchlevelFunction · 0.90
checkFloatParamMethod · 0.80

Tested by

no test coverage detected