diff options
Diffstat (limited to 'Lib/test/inspect_fodder.py')
-rw-r--r-- | Lib/test/inspect_fodder.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/inspect_fodder.py b/Lib/test/inspect_fodder.py index 5c87ae6..548765c 100644 --- a/Lib/test/inspect_fodder.py +++ b/Lib/test/inspect_fodder.py @@ -56,3 +56,9 @@ class ParrotDroppings: class FesteringGob(MalodorousPervert, ParrotDroppings): pass + +currentframe = inspect.currentframe() +try: + raise Exception() +except: + tb = sys.exc_info()[2] |