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

Method tearDown

Lib/test/test_tkinter/test_geometry_managers.py:511–519  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

509 test_keys = None
510
511 def tearDown(self):
512 cols, rows = self.root.grid_size()
513 for i in range(cols + 1):
514 self.root.grid_columnconfigure(i, weight=0, minsize=0, pad=0, uniform='')
515 for i in range(rows + 1):
516 self.root.grid_rowconfigure(i, weight=0, minsize=0, pad=0, uniform='')
517 self.root.grid_propagate(1)
518 self.root.grid_anchor('nw')
519 super().tearDown()
520
521 def test_grid_configure(self):
522 b = tkinter.Button(self.root)

Callers

nothing calls this directly

Calls 6

superClass · 0.85
grid_sizeMethod · 0.80
grid_columnconfigureMethod · 0.80
grid_rowconfigureMethod · 0.80
grid_propagateMethod · 0.80
grid_anchorMethod · 0.80

Tested by

no test coverage detected