MCPcopy Create free account
hub / github.com/ipython/traitlets / test_help

Method test_help

tests/config/test_configurable.py:186–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

184 self.assertEqual(c.c, 20.0)
185
186 def test_help(self):
187 self.assertEqual(MyConfigurable.class_get_help(), mc_help)
188 self.assertEqual(Foo.class_get_help(), foo_help)
189 self.assertEqual(Bar.class_get_help(), bar_help)
190
191 def test_help_inst(self):
192 inst = MyConfigurable(a=5, b=4)

Callers

nothing calls this directly

Calls 1

class_get_helpMethod · 0.80

Tested by

no test coverage detected