Skip to content

Commit 0cbb9f3

Browse files
committed
better comments
1 parent 29c1c14 commit 0cbb9f3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/test_cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def test_view_path_not_exists():
2828
Viewer.close_all()
2929

3030

31+
# added due to this https://github.com/napari/napari/issues/8214#issuecomment-3188565917
3132
@pytest.mark.usefixtures("mock_app_model")
3233
def test_view_path_is_dir():
3334
runner = CliRunner()

tests/test_scatterwidgets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ def test_add_roi_to_plot(qtbot, plot_widget, prepare_discrete_test_data):
284284
assert len(rois) == 1, "There should be exactly one ROI in the scatter_plot"
285285

286286

287+
# sometimes this test fails due to a faulty clean-up, for example in the last failing
288+
# commit here: https://github.com/scverse/napari-spatialdata/pull/360
287289
def test_remove_roi_double_click(qtbot, plot_widget, prepare_discrete_test_data):
288290
"""Test changing coordinates and removing ROI."""
289291
roi = pg.RectROI([0, 0], [1, 1])

0 commit comments

Comments
 (0)