mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
Commit missing parts of 8aa34ee9
.
This commit is contained in:
parent
693a364d85
commit
05bdd5c4a9
@ -3,7 +3,7 @@
|
||||
# REQUIRES: exceptions
|
||||
|
||||
def f():
|
||||
# CHECK-L: Uncaught ZeroDivisionError
|
||||
# CHECK-L: Uncaught 0:ZeroDivisionError
|
||||
# CHECK-L: at input.py:${LINE:+1}:
|
||||
1/0
|
||||
|
||||
|
@ -9,7 +9,7 @@ def g():
|
||||
try:
|
||||
f()
|
||||
except Exception as e:
|
||||
# CHECK-L: Uncaught ZeroDivisionError
|
||||
# CHECK-L: Uncaught 0:ZeroDivisionError
|
||||
# CHECK-L: at input.py:${LINE:+1}:
|
||||
raise e
|
||||
|
||||
|
@ -2,6 +2,6 @@
|
||||
# RUN: OutputCheck %s --file-to-check=%t
|
||||
# REQUIRES: exceptions
|
||||
|
||||
# CHECK-L: Uncaught ZeroDivisionError: cannot divide by zero (0, 0, 0)
|
||||
# CHECK-L: Uncaught 0:ZeroDivisionError: cannot divide by zero (0, 0, 0)
|
||||
# CHECK-L: at input.py:${LINE:+1}:
|
||||
1/0
|
||||
|
Loading…
Reference in New Issue
Block a user