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

Function crasher

IPython/lib/tests/test_backgroundjobs.py:39–41  ·  view source on GitHub ↗
(interval=t_short, *a, **kw)

Source from the content-addressed store, hash-verified

37 return args
38
39def crasher(interval=t_short, *a, **kw):
40 time.sleep(interval)
41 raise Exception("Dead job with interval %s" % interval)
42
43#-----------------------------------------------------------------------------
44# Classes and functions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected