1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
From: Roland Mas <roland.mas@entierement.net>
Date: Fri, 22 Aug 2025 16:57:08 +0200
Subject: Skip three tests on platforms lacking GL
---
src/napari/_tests/test_notebook_display.py | 3 ++-
src/napari/_tests/test_viewer.py | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/napari/_tests/test_notebook_display.py b/src/napari/_tests/test_notebook_display.py
index 23d8574..e2f7380 100644
--- a/src/napari/_tests/test_notebook_display.py
+++ b/src/napari/_tests/test_notebook_display.py
@@ -3,12 +3,13 @@ from unittest.mock import Mock
import numpy as np
import pytest
+import os
from napari._tests.utils import skip_on_win_ci
from napari._version import __version__
from napari.utils import nbscreenshot
-
+@pytest.mark.skipif(os.getenv("DEB_HOST_ARCH") in {'armel','armhf'}, reason="Skipping on arm*")
@skip_on_win_ci
def test_nbscreenshot(make_napari_viewer):
"""Test taking a screenshot."""
diff --git a/src/napari/_tests/test_viewer.py b/src/napari/_tests/test_viewer.py
index ba43b76..7b9ee4c 100644
--- a/src/napari/_tests/test_viewer.py
+++ b/src/napari/_tests/test_viewer.py
@@ -147,6 +147,7 @@ def test_add_layer_magic_name(
assert layer.name == 'a_unique_name'
+@pytest.mark.skipif(os.getenv("DEB_HOST_ARCH") in {'armel','armhf'}, reason="Skipping on arm*")
@skip_on_win_ci
def test_screenshot(make_napari_viewer, qtbot):
"""Test taking a screenshot."""
@@ -205,6 +206,7 @@ def test_screenshot(make_napari_viewer, qtbot):
)
+@pytest.mark.skipif(os.getenv("DEB_HOST_ARCH") in {'armel','armhf'}, reason="Skipping on arm*")
@skip_on_win_ci
def test_changing_theme(make_napari_viewer):
"""Test changing the theme updates the full window."""
|