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

Method test_help_inst

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

Source from the content-addressed store, hash-verified

189 self.assertEqual(Bar.class_get_help(), bar_help)
190
191 def test_help_inst(self):
192 inst = MyConfigurable(a=5, b=4)
193 self.assertEqual(MyConfigurable.class_get_help(inst), mc_help_inst)
194
195 def test_generated_config_enum_comments(self):
196 class MyConf(Configurable):

Callers

nothing calls this directly

Calls 2

MyConfigurableClass · 0.85
class_get_helpMethod · 0.80

Tested by

no test coverage detected