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

Function test

Lib/test/test_tkinter/widget_tests.py:584–588  ·  view source on GitHub ↗
(self, option=option)

Source from the content-addressed store, hash-verified

582 break
583 else:
584 def test(self, option=option):
585 widget = self.create()
586 widget[option]
587 raise AssertionError('Option "%s" is not tested in %s' %
588 (option, cls.__name__))
589 test.__name__ = methodname
590 setattr(cls, methodname, test)
591 return cls

Callers 15

test_iterMethod · 0.90
newtestFunction · 0.90
test_functionMethod · 0.90
test_bind_eventsMethod · 0.70
_test_empty_fileMethod · 0.50
_test_partial_magicMethod · 0.50
_test_magic_onlyMethod · 0.50
_test_partial_flagsMethod · 0.50
_test_partial_hashMethod · 0.50

Calls 1

createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…