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

Method test_pack_slaves

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

Source from the content-addressed store, hash-verified

282 self.assertEqual(pack.pack_content(), [a, b])
283
284 def test_pack_slaves(self):
285 pack, a, b, c, d = self.create2()
286 self.assertEqual(pack.pack_slaves(), [])
287 a.pack_configure()
288 self.assertEqual(pack.pack_slaves(), [a])
289 b.pack_configure()
290 self.assertEqual(pack.pack_slaves(), [a, b])
291
292
293class PlaceTest(AbstractWidgetTest, unittest.TestCase):

Callers

nothing calls this directly

Calls 4

create2Method · 0.95
pack_slavesMethod · 0.80
pack_configureMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected