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

Method test_indexcommand_none

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

Source from the content-addressed store, hash-verified

1480 return tkinter.Menu(self.root, **kwargs)
1481
1482 def test_indexcommand_none(self):
1483 widget = self.create()
1484 i = widget.index('none')
1485 self.assertIsNone(i)
1486
1487 test_configure_activerelief = requires_tk(8, 7)(StandardOptionsTests.test_configure_activerelief)
1488

Callers

nothing calls this directly

Calls 3

createMethod · 0.95
assertIsNoneMethod · 0.80
indexMethod · 0.45

Tested by

no test coverage detected