From fee5d7a34515090acb89c736e1697c65a416b124 Mon Sep 17 00:00:00 2001 From: jmoore Date: Fri, 4 Sep 2020 08:53:07 +0200 Subject: [PATCH] Disable napari viewer test on non-OSX platforms --- tests/test_napari.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_napari.py b/tests/test_napari.py index bf46952e..0ee3a3c3 100644 --- a/tests/test_napari.py +++ b/tests/test_napari.py @@ -1,3 +1,5 @@ +import sys + import numpy as np import pytest @@ -47,6 +49,10 @@ def test_label(self): layers = napari_get_reader(filename)() self.assert_layers(layers, False, True) + @pytest.mark.skipif( + not sys.platform.startswith("darwin"), + reason="Qt builds are failing on Windows and Ubuntu", + ) def test_viewer(self, make_test_viewer): """example of testing the viewer.""" viewer = make_test_viewer()