From 4f3555ab093c9eda11f5cbde76297a5e4176ed7d Mon Sep 17 00:00:00 2001 From: Malia Gehan Date: Wed, 15 May 2024 12:00:34 -0500 Subject: [PATCH] Update test_napari_open.py add viewer.close() to napari.open --- tests/test_napari_open.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_napari_open.py b/tests/test_napari_open.py index cfb9d25..602e3ef 100644 --- a/tests/test_napari_open.py +++ b/tests/test_napari_open.py @@ -13,6 +13,7 @@ def test_napari_open_rgb(test_data): face_color="red", size=1) assert len(viewer.layers['total'].data) == 2 + viewer.close() def test_napari_open_gray(test_data): @@ -25,6 +26,7 @@ def test_napari_open_gray(test_data): face_color="red", size=1) assert len(viewer.layers['total'].data) == 2 + viewer.close() def test_napari_open_envi(test_data): @@ -38,3 +40,4 @@ def test_napari_open_envi(test_data): face_color="red", size=1) assert len(viewer.layers['total'].data) == 2 + viewer.close()