Skip to content

Commit

Permalink
Disable napari viewer test on non-OSX platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Sep 4, 2020
1 parent 8ef98ca commit fee5d7a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_napari.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

import numpy as np
import pytest

Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit fee5d7a

Please sign in to comment.