summaryrefslogtreecommitdiff
path: root/tests/misc/print_exception.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-06-20 21:02:11 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-20 14:33:10 +1000
commitb01f66c5f1a0ceb14f0a864cd068874ec69258e1 (patch)
treea61d0f078be5394318dccd948a1c6eb669cbbdfb /tests/misc/print_exception.py
parent0a36a80f96e0951e868f1e253b1c82835a9d0918 (diff)
py: Shorten error messages by using contractions and some rewording.
Diffstat (limited to 'tests/misc/print_exception.py')
-rw-r--r--tests/misc/print_exception.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/print_exception.py b/tests/misc/print_exception.py
index f33162404..95431632f 100644
--- a/tests/misc/print_exception.py
+++ b/tests/misc/print_exception.py
@@ -50,7 +50,7 @@ except Exception as 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():
- f([1, 2], [1, 2], [1, 2], {1:1, 1:1, 1:1, 1:1, 1:1, 1:1, 1:X})
+ f([1, 2], [1, 2], [1, 2], {1:1, 1:1, 1:1, 1:1, 1:1, 1:1, 1:f.X})
return 1
try:
f()