Skip to content

Commit 87a19c0

Browse files
committed
Fix all the tests!
1 parent 1cb8e59 commit 87a19c0

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ docs =
5555
sphinx-automodapi
5656
sphinx-gallery
5757
testing =
58-
napari[pyqt6-experimental]
58+
# napari pin is due to figure tests changing in 0.4.18
59+
napari[pyqt6-experimental] >=0.4.18
5960
pooch
6061
pyqt6
6162
pytest
Loading
Loading

src/napari_matplotlib/tests/test_theme.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ def _mock_up_theme() -> None:
3737
https://napari.org/stable/gallery/new_theme.html
3838
"""
3939
blue_theme = napari.utils.theme.get_theme("dark", False)
40-
blue_theme.name = "blue"
40+
blue_theme.label = "blue"
4141
blue_theme.background = "#4169e1" # my favourite shade of blue
42-
napari.utils.theme.register_theme("blue", blue_theme)
42+
napari.utils.theme.register_theme("blue", blue_theme, source='napari-mpl-tests')
4343

4444

4545
def test_theme_background_check(make_napari_viewer):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy