diff --git a/artiq/test/lit/exceptions/finally_catch_try.py b/artiq/test/lit/exceptions/finally_catch_try.py deleted file mode 100644 index c1b500a78..000000000 --- a/artiq/test/lit/exceptions/finally_catch_try.py +++ /dev/null @@ -1,19 +0,0 @@ -# RUN: %python -m artiq.compiler.testbench.jit %s >%t -# RUN: OutputCheck %s --file-to-check=%t -# REQUIRES: exceptions - -def doit(): - try: - try: - raise RuntimeError("Error") - except ValueError: - print("ValueError") - except RuntimeError: - print("Caught") - finally: - print("Cleanup") - -doit() - -# CHECK-L: Caught -# CHECK-NEXT-L: Cleanup diff --git a/artiq/test/lit/exceptions/finally_try.py b/artiq/test/lit/exceptions/finally_try.py deleted file mode 100644 index 377ca1c06..000000000 --- a/artiq/test/lit/exceptions/finally_try.py +++ /dev/null @@ -1,20 +0,0 @@ -# RUN: %python -m artiq.compiler.testbench.jit %s >%t -# RUN: OutputCheck %s --file-to-check=%t -# REQUIRES: exceptions - -def doit(): - try: - try: - raise RuntimeError("Error") - except ValueError: - print("ValueError") - finally: - print("Cleanup") - -try: - doit() -except RuntimeError: - print("Caught") - -# CHECK-L: Cleanup -# CHECK-NEXT-L: Caught