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, 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()