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 711badad84..ff3f0e4b73 100644 --- a/Lib/test/inspect_fodder.py +++ b/Lib/test/inspect_fodder.py @@ -74,3 +74,9 @@ class FesteringGob(MalodorousPervert, ParrotDroppings): async def lobbest(grenade): pass + +currentframe = inspect.currentframe() +try: + raise Exception() +except: + tb = sys.exc_info()[2] |
