Skip to content

Commit

Permalink
Update test_napari_open.py
Browse files Browse the repository at this point in the history
add viewer.close() to napari.open
  • Loading branch information
maliagehan committed May 15, 2024
1 parent c6035cb commit 4f3555a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_napari_open.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand All @@ -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()

0 comments on commit 4f3555a

Please sign in to comment.