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

Method test_configure_state

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

Source from the content-addressed store, hash-verified

835 self.checkInvalidParam(widget, 'scrollregion', (0, 0, 200, 150, 0))
836
837 def test_configure_state(self):
838 widget = self.create()
839 self.checkEnumParam(widget, 'state', 'disabled', 'normal',
840 errmsg='bad state value "{}": must be normal or disabled')
841
842 def test_configure_xscrollincrement(self):
843 widget = self.create()

Callers

nothing calls this directly

Calls 2

createMethod · 0.95
checkEnumParamMethod · 0.80

Tested by

no test coverage detected