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

Method test_name

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

Source from the content-addressed store, hash-verified

370 self.assertTrue(self.top.lookup("sys").is_imported())
371
372 def test_name(self):
373 self.assertEqual(self.top.get_name(), "top")
374 self.assertEqual(self.spam.get_name(), "spam")
375 self.assertEqual(self.spam.lookup("x").get_name(), "x")
376 self.assertEqual(self.Mine.get_name(), "Mine")
377
378 @unittest.expectedFailure # TODO: RUSTPYTHON
379 def test_class_get_methods(self):

Callers

nothing calls this directly

Calls 3

assertEqualMethod · 0.45
get_nameMethod · 0.45
lookupMethod · 0.45

Tested by

no test coverage detected