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

Class DeprecatedApp

tests/config/test_application.py:711–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709
710
711class DeprecatedApp(Application):
712 override_called = False
713 parent_called = False
714
715 def _config_changed(self, name, old, new):
716 self.override_called = True
717
718 def _capture(*args):
719 self.parent_called = True
720
721 with mock.patch.object(self.log, "debug", _capture):
722 super()._config_changed(name, old, new)
723
724
725def test_deprecated_notifier():

Callers 1

test_deprecated_notifierFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_deprecated_notifierFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…