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

Method test_nested

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

Source from the content-addressed store, hash-verified

240 self.assertTrue(self.spam.is_optimized())
241
242 def test_nested(self):
243 self.assertFalse(self.top.is_nested())
244 self.assertFalse(self.Mine.is_nested())
245 self.assertFalse(self.spam.is_nested())
246 self.assertTrue(self.internal.is_nested())
247
248 def test_children(self):
249 self.assertTrue(self.top.has_children())

Callers

nothing calls this directly

Calls 3

assertFalseMethod · 0.80
assertTrueMethod · 0.80
is_nestedMethod · 0.45

Tested by

no test coverage detected