From fc76a86a4e26a48d45edca48134d28d3b008f898 Mon Sep 17 00:00:00 2001 From: Henry Pinkard <7969470+henrypinkard@users.noreply.github.com> Date: Fri, 14 Jun 2024 16:08:25 +0200 Subject: [PATCH] add explicit closing to fix test --- pycromanager/test/test_notifications.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pycromanager/test/test_notifications.py b/pycromanager/test/test_notifications.py index d2e21d66..53b5b9fc 100644 --- a/pycromanager/test/test_notifications.py +++ b/pycromanager/test/test_notifications.py @@ -51,4 +51,5 @@ def test_async_images_read_sequence(launch_mm_headless, setup_data_folder): # Make sure the returned images were the correct ones on_disk = [acq.get_dataset().read_image(time=t) for t in [7, 8, 9]] assert all([np.all(on_disk[i] == images[i]) for i in range(3)]) + acq.get_dataset().close()