Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 84f4486

Browse filesBrowse files
committed
Fix all the tests!
1 parent aa9eaf4 commit 84f4486
Copy full SHA for 84f4486

File tree

Expand file treeCollapse file tree

5 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+5
-3
lines changed

‎setup.cfg

Copy file name to clipboardExpand all lines: setup.cfg
+1-1Lines changed: 1 addition & 1 deletion
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
Loading
Loading
Loading

‎src/napari_matplotlib/tests/test_theme.py

Copy file name to clipboardExpand all lines: src/napari_matplotlib/tests/test_theme.py
+4-2Lines changed: 4 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.