1818)
1919
2020
21- @pytest .mark .skipif (not   OFFSCREEN , reason = "Not running in offscreen mode" ) 
21+ @pytest .mark .skipif (OFFSCREEN , reason = "Not running in offscreen mode" ) 
2222@pytest .mark .usefixtures ("mock_app_model" ) 
2323class  TestImages (PlotTester , metaclass = PlotTesterMeta ):
2424    def  test_plot_can_add_element_image (self , sdata_blobs : SpatialData ):
@@ -53,7 +53,7 @@ def test_switch_coordinate_system(self, sdata_blobs: SpatialData):
5353        Viewer .close_all ()
5454
5555
56- @pytest .mark .skipif (not   OFFSCREEN , reason = "Not running in offscreen mode" ) 
56+ @pytest .mark .skipif (OFFSCREEN , reason = "Not running in offscreen mode" ) 
5757@pytest .mark .usefixtures ("mock_app_model" ) 
5858def  test_plot_can_add_element_switch_cs (sdata_blobs : SpatialData ):
5959    i  =  Interactive (sdata = sdata_blobs , headless = True )
@@ -63,7 +63,7 @@ def test_plot_can_add_element_switch_cs(sdata_blobs: SpatialData):
6363    Viewer .close_all ()
6464
6565
66- @pytest .mark .skipif (not   OFFSCREEN , reason = "Not running in offscreen mode" ) 
66+ @pytest .mark .skipif (OFFSCREEN , reason = "Not running in offscreen mode" ) 
6767@pytest .mark .usefixtures ("mock_app_model" ) 
6868class  TestInteractive (PlotTester , metaclass = PlotTesterMeta ):
6969    def  test_get_layer_existing (self , sdata_blobs : SpatialData ):
@@ -94,7 +94,7 @@ def test_add_text_to_polygons(self, sdata_blobs: SpatialData):
9494        Viewer .close_all ()
9595
9696
97- @pytest .mark .skipif (not   OFFSCREEN , reason = "Not running in offscreen mode" ) 
97+ @pytest .mark .skipif (OFFSCREEN , reason = "Not running in offscreen mode" ) 
9898@pytest .mark .skipif (ARM_PROBLEM , reason = "Test will segfault on ARM with numpy < 2" ) 
9999@pytest .mark .use_thread_loader  
100100def  test_load_data_in_thread (make_napari_viewer : Callable [[], Viewer ], sdata_blobs : SpatialData , qtbot : QtBot ) ->  None :
0 commit comments