diff --git a/lit-test/test/exceptions/reraise.py b/lit-test/test/exceptions/reraise.py index 2a02b523d..911b22322 100644 --- a/lit-test/test/exceptions/reraise.py +++ b/lit-test/test/exceptions/reraise.py @@ -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 diff --git a/lit-test/test/exceptions/reraise_update.py b/lit-test/test/exceptions/reraise_update.py index 891e7685d..11bd30639 100644 --- a/lit-test/test/exceptions/reraise_update.py +++ b/lit-test/test/exceptions/reraise_update.py @@ -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 diff --git a/lit-test/test/exceptions/uncaught.py b/lit-test/test/exceptions/uncaught.py index 6044f8bf2..13b83ec22 100644 --- a/lit-test/test/exceptions/uncaught.py +++ b/lit-test/test/exceptions/uncaught.py @@ -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