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

Method test_pack_forget

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

Source from the content-addressed store, hash-verified

219 check('right', '20x40+280+80', '280x200+0+0')
220
221 def test_pack_forget(self):
222 pack, a, b, c, d = self.create2()
223 a.pack_configure()
224 b.pack_configure()
225 c.pack_configure()
226 self.assertEqual(pack.pack_content(), [a, b, c])
227 b.pack_forget()
228 self.assertEqual(pack.pack_content(), [a, c])
229 b.pack_forget()
230 self.assertEqual(pack.pack_content(), [a, c])
231 d.pack_forget()
232
233 def test_pack_info(self):
234 pack, a, b, c, d = self.create2()

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected