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

Method test_bad_entity

Lib/idlelib/idle_test/test_calltip.py:270–271  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268
269class Get_entityTest(unittest.TestCase):
270 def test_bad_entity(self):
271 self.assertIsNone(calltip.get_entity('1/0'))
272 def test_good_entity(self):
273 self.assertIs(calltip.get_entity('int'), int)
274

Callers

nothing calls this directly

Calls 2

assertIsNoneMethod · 0.80
get_entityMethod · 0.80

Tested by

no test coverage detected