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

Method check

Lib/test/test_tkinter/test_geometry_managers.py:51–55  ·  view source on GitHub ↗
(anchor, geom)

Source from the content-addressed store, hash-verified

49 def test_pack_configure_anchor(self):
50 pack, a, b, c, d = self.create2()
51 def check(anchor, geom):
52 a.pack_configure(side='top', ipadx=5, padx=10, ipady=15, pady=20,
53 expand=True, anchor=anchor)
54 self.root.update()
55 self.assertEqual(a.winfo_geometry(), geom)
56 check('n', '30x70+135+20')
57 check('ne', '30x70+260+20')
58 check('e', '30x70+260+65')

Callers

nothing calls this directly

Calls 6

pack_configureMethod · 0.80
winfo_geometryMethod · 0.80
pack_forgetMethod · 0.80
pack_infoMethod · 0.80
updateMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected