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

Method check_paneconfigure

Lib/test/test_tkinter/test_widgets.py:1392–1397  ·  view source on GitHub ↗
(self, p, b, name, value, expected)

Source from the content-addressed store, hash-verified

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:
1394 expected = str(expected)
1395 p.paneconfigure(b, **{name: value})
1396 self.assertEqual(p.paneconfigure(b, name)[4], expected)
1397 self.assertEqual(p.panecget(b, name), expected)
1398
1399 def check_paneconfigure_bad(self, p, b, name, msg):
1400 with self.assertRaisesRegex(TclError, msg):

Calls 4

strFunction · 0.85
paneconfigureMethod · 0.80
panecgetMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected