1
0
forked from M-Labs/artiq
artiq/artiq/test
Jonathan Coates 270a417a28 Correctly handle try/catch try/finally blocks
If we have a try/catch block nested inside a try/finally, then the
finally block would not be executed in the event of the exception.
This is because the landing pad of the inner try is marked as having no
cleanup clause.

We now set has_cleanup to False only if there is no outer try block.

Signed-off-by: Jonathan Coates <jonathan.coates@oxionics.com>
2024-11-20 09:38:36 +08:00
..
compiler assume 'import artiq' works before running tests 2016-02-02 21:52:33 +01:00
coredevice add AD9834 core device driver (#2596) 2024-10-17 14:14:45 +08:00
libartiq_support firmware: update rust to 2021-09-01 nightly 2024-05-17 15:36:56 +08:00
lit Correctly handle try/catch try/finally blocks 2024-11-20 09:38:36 +08:00
__init__.py setup: install frontend tools, remove nosetest dependency, minor fixes 2014-12-10 12:13:10 +08:00
hardware_testbench.py devices: introduce notify_run_end API 2023-12-13 14:27:04 +08:00
test_arguments.py test_arguments: rename ndecimals to precision 2023-07-18 08:02:42 +00:00
test_client.py test_client: make master termination easier to debug 2024-08-24 10:47:01 +08:00
test_datasets.py test_datasets: add metadata tests 2023-07-10 02:33:59 +00:00
test_device_db.py test_device_db: fix on Windows (tempfile access limitations) 2021-06-21 16:47:22 +08:00
test_frontends.py testing: add coreanalyzer_proxy smoke test 2024-02-02 10:21:22 +08:00
test_h5types.py worker: trust that h5py maps all types as we want 2016-04-05 17:18:15 +08:00
test_scheduler.py test_scheduler: remove the exact ordering assertion 2024-07-10 18:04:59 +01:00
test_tools.py tools/file_import: use SourceFileLoader 2021-12-09 11:47:04 +08:00
test_worker.py test_worker: fix asyncio event loop management 2023-01-10 12:36:33 +08:00