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

Method test_lineno

Lib/test/test_symtable.py:247–249  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

245 self.assertFalse(self.foo.has_children())
246
247 def test_lineno(self):
248 self.assertEqual(self.top.get_lineno(), 0)
249 self.assertEqual(self.spam.get_lineno(), 14)
250
251 def test_function_info(self):
252 func = self.spam

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
get_linenoMethod · 0.45

Tested by

no test coverage detected