summaryrefslogtreecommitdiff
path: root/tests/misc/print_exception.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-02-02 11:51:48 +1100
committerJim Mussared <jim.mussared@gmail.com>2023-02-02 12:51:03 +1100
commit8b2748269244304854b3462cb8902952b4dcb892 (patch)
tree05c315fc329eb32bb55c71303eef2183bf818e35 /tests/misc/print_exception.py
parentfe2a8332ff9c7cc7b66ed6da04f5a4a825309818 (diff)
top: Update Python formatting to black "2023 stable style".
See https://black.readthedocs.io/en/stable/the_black_code_style/index.html Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
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():