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

Function meaning_of_life

IPython/lib/tests/test_pretty.py:446–449  ·  view source on GitHub ↗
(question=None)

Source from the content-addressed store, hash-verified

444
445 # custom function
446 def meaning_of_life(question=None):
447 if question:
448 return 42
449 return "Don't panic"
450
451 nt.assert_in('meaning_of_life(question=None)', pretty.pretty(meaning_of_life))
452

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected