MCPcopy Create free account
hub / github.com/ipython/ipython / event_with_no_argument

Method event_with_no_argument

IPython/core/tests/test_events.py:83–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 def test_ignore_event_arguments_if_no_argument_required(self):
82 call_count = [0]
83 def event_with_no_argument():
84 call_count[0] += 1
85
86 self.em.register('event_with_argument', event_with_no_argument)
87 self.em.trigger('event_with_argument', 'the argument')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected