Skip to content

Commit ea22113

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

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

Diff for: setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ docs =
5555
sphinx-automodapi
5656
sphinx-gallery
5757
testing =
58-
napari[pyqt6-experimental]
58+
napari[pyqt6-experimental]>=0.4.18
5959
pooch
6060
pyqt6
6161
pytest
-37 Bytes
Loading
-229 Bytes
Loading
11 Bytes
Loading

Diff for: src/napari_matplotlib/tests/test_theme.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ 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(
43+
"blue", blue_theme, source="napari-mpl-tests"
44+
)
4345

4446

4547
def test_theme_background_check(make_napari_viewer):

0 commit comments

Comments
 (0)