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

Method test_paneconfigure

Lib/test/test_tkinter/test_widgets.py:1382–1390  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1380 return p, b, c
1381
1382 def test_paneconfigure(self):
1383 p, b, c = self.create2()
1384 self.assertRaises(TypeError, p.paneconfigure)
1385 d = p.paneconfigure(b)
1386 self.assertIsInstance(d, dict)
1387 for k, v in d.items():
1388 self.assertEqual(len(v), 5)
1389 self.assertEqual(v, p.paneconfigure(b, k))
1390 self.assertEqual(v[4], p.panecget(b, k))
1391
1392 def check_paneconfigure(self, p, b, name, value, expected):
1393 if not self.wantobjects:

Callers

nothing calls this directly

Calls 7

create2Method · 0.95
paneconfigureMethod · 0.80
assertIsInstanceMethod · 0.80
panecgetMethod · 0.80
assertRaisesMethod · 0.45
itemsMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected