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

+2-1
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
Loading

src/napari_matplotlib/tests/test_theme.py

+2-2
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)