Skip to content

Commit 3dd8e82

Browse files
lochhhsfmig
authored andcommitted
Temporarily suppress napari warnings
1 parent 4c31b3f commit 3dd8e82

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_unit/test_napari_plugin/test_data_loader_widget.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727

2828
from movement.napari.loader_widgets import DataLoader
2929

30+
pytestmark = pytest.mark.filterwarnings(
31+
"ignore:.*Previous color_by key.*:UserWarning"
32+
)
33+
3034

3135
# ------------------- tests for widget instantiation--------------------------#
3236
def test_data_loader_widget_instantiation(make_napari_viewer_proxy):
@@ -577,6 +581,9 @@ def test_deletion_all_layers(make_napari_viewer_proxy):
577581

578582

579583
# ------------------- tests for layers style ----------------------------#
584+
@pytest.mark.filterwarnings(
585+
"ignore:.*Private attribute access.*:FutureWarning"
586+
)
580587
@pytest.mark.parametrize(
581588
(
582589
"filename, source_software, "

0 commit comments

Comments
 (0)