summaryrefslogtreecommitdiff
path: root/tests/misc/print_exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/print_exception.py')
-rw-r--r--tests/misc/print_exception.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/print_exception.py b/tests/misc/print_exception.py
index 9b3467b0a..06f402334 100644
--- a/tests/misc/print_exception.py
+++ b/tests/misc/print_exception.py
@@ -40,6 +40,7 @@ except Exception as e:
print("caught")
print_exc(e)
+
# exception message with more than 1 source-code line
def f():
g()
@@ -77,6 +78,7 @@ except Exception as e:
print("caught")
print_exc(e)
+
# Here we have a function with lots of bytecode generated for a single source-line, and
# there is an error right at the end of the bytecode. It should report the correct line.
def f():