pudb/test/test-postmortem.py

9 lines
91 B
Python

def f():
fail
try:
f()
except:
from pudb import post_mortem
post_mortem()