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

Method test_gettext

Lib/idlelib/idle_test/test_browser.py:196–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

194 self.assertTrue(self.cbt_f1.isfunction)
195
196 def test_gettext(self):
197 self.assertEqual(self.cbt_C1.GetText(), 'class C1()')
198 self.assertEqual(self.cbt_f1.GetText(), 'def f1(...)')
199
200 def test_geticonname(self):
201 self.assertEqual(self.cbt_C1.GetIconName(), 'folder')

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
GetTextMethod · 0.45

Tested by

no test coverage detected