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

Method setUp

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

Source from the content-addressed store, hash-verified

649 'selectborderwidth', 'spacing1', 'spacing2', 'spacing3'}
650
651 def setUp(self):
652 super().setUp()
653 if tk_version[:2] == (9, 0) and get_tk_patchlevel(self.root) < (9, 0, 2):
654 self._clipped = self._clipped - {'borderwidth', 'height', 'padx', 'pady'}
655 if tk_version[:2] == (9, 0) and get_tk_patchlevel(self.root) < (9, 0, 1):
656 self._clipped = self._clipped - {'insertborderwidth', 'insertwidth', 'selectborderwidth'}
657
658 def create(self, **kwargs):
659 return tkinter.Text(self.root, **kwargs)

Callers 3

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls 2

get_tk_patchlevelFunction · 0.90
superClass · 0.85

Tested by

no test coverage detected