Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/src/sage/doctest/tests/fail_and_die.rst
8818 views
The ``NameError`` raised on the second line should be displayed, even
if we crash immediately afterwards::

    sage: import time, signal
    sage: this_gives_a_NameError
    sage: os.kill(os.getpid(), signal.SIGKILL)