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

Method test_place_forget

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

Source from the content-addressed store, hash-verified

454 self.assertEqual(f.place_info()['bordermode'], value)
455
456 def test_place_forget(self):
457 foo = tkinter.Frame(self.root)
458 foo.place_configure(width=50, height=50)
459 self.root.update()
460 foo.place_forget()
461 self.root.update()
462 self.assertFalse(foo.winfo_ismapped())
463 with self.assertRaises(TypeError):
464 foo.place_forget(0)
465
466 def test_place_info(self):
467 t, f, f2 = self.create2()

Callers

nothing calls this directly

Calls 6

place_configureMethod · 0.80
place_forgetMethod · 0.80
assertFalseMethod · 0.80
winfo_ismappedMethod · 0.80
updateMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected