From a57cf3e1cae7a62b408f26ea55630dac0a18249b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 20 Dec 2024 13:08:43 +0800 Subject: [PATCH] remove lit tests --- .../test/lit/exceptions/finally_catch_try.py | 19 ------------------ artiq/test/lit/exceptions/finally_try.py | 20 ------------------- 2 files changed, 39 deletions(-) delete mode 100644 artiq/test/lit/exceptions/finally_catch_try.py delete mode 100644 artiq/test/lit/exceptions/finally_try.py 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