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

Method test_bbox

Lib/test/test_ttk/test_widgets.py:377–380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

375 self.checkCommandParam(widget, 'validatecommand')
376
377 def test_bbox(self):
378 self.assertIsBoundingBox(self.entry.bbox(0))
379 self.assertRaises(tkinter.TclError, self.entry.bbox, 'noindex')
380 self.assertRaises(tkinter.TclError, self.entry.bbox, None)
381
382 def test_identify(self):
383 if (tk_version >= (9, 0) and sys.platform == 'darwin'

Callers

nothing calls this directly

Calls 3

assertIsBoundingBoxMethod · 0.80
bboxMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected