MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_lineno

Method test_lineno

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

Source from the content-addressed store, hash-verified

251 self.assertFalse(self.foo.has_children())
252
253 def test_lineno(self):
254 self.assertEqual(self.top.get_lineno(), 0)
255 self.assertEqual(self.spam.get_lineno(), 14)
256
257 @unittest.expectedFailure # TODO: RUSTPYTHON
258 def test_function_info(self):

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
get_linenoMethod · 0.45

Tested by

no test coverage detected