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

Method checkCursorParam

Lib/test/test_tkinter/widget_tests.py:115–119  ·  view source on GitHub ↗
(self, widget, name, **kwargs)

Source from the content-addressed store, hash-verified

113 errmsg='unknown color name "spam"')
114
115 def checkCursorParam(self, widget, name, **kwargs):
116 self.checkParams(widget, name, 'arrow', 'watch', 'cross', '',**kwargs)
117 self.checkParam(widget, name, 'none')
118 self.checkInvalidParam(widget, name, 'spam',
119 errmsg='bad cursor spec "spam"')
120
121 def checkCommandParam(self, widget, name):
122 def command(*args):

Callers 3

test_configure_cursorMethod · 0.80

Calls 3

checkParamsMethod · 0.95
checkParamMethod · 0.95
checkInvalidParamMethod · 0.95

Tested by

no test coverage detected