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

Method test_pack_content

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

Source from the content-addressed store, hash-verified

274 self.assertEqual(pack.winfo_reqheight(), 40)
275
276 def test_pack_content(self):
277 pack, a, b, c, d = self.create2()
278 self.assertEqual(pack.pack_content(), [])
279 a.pack_configure()
280 self.assertEqual(pack.pack_content(), [a])
281 b.pack_configure()
282 self.assertEqual(pack.pack_content(), [a, b])
283
284 def test_pack_slaves(self):
285 pack, a, b, c, d = self.create2()

Callers

nothing calls this directly

Calls 4

create2Method · 0.95
pack_contentMethod · 0.80
pack_configureMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected