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

Method test_getattr_private_missing

tests/config/test_loader.py:590–596  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

588 self.assertIn("foo", cfg)
589
590 def test_getattr_private_missing(self):
591 cfg = Config()
592 self.assertNotIn("_repr_html_", cfg)
593 with self.assertRaises(AttributeError):
594 _ = cfg._repr_html_
595 self.assertNotIn("_repr_html_", cfg)
596 self.assertEqual(len(cfg), 0)
597
598 def test_lazy_config_repr(self):
599 cfg = Config()

Callers

nothing calls this directly

Calls 1

ConfigClass · 0.90

Tested by

no test coverage detected