Skip to content

Commit e3236b7

Browse files
committed
Skip test on Jupyter+PyGFX
1 parent 8dc0578 commit e3236b7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_controller.py

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
IS_WIN = os.name == "nt"
3030
IS_PYSIDE6 = API_NAME == "PySide6"
31+
IS_JUPYTER = _app.gui_frontend() == "jupyter"
3132
IS_PYGFX = _app.canvas_backend(None) == "pygfx"
3233

3334

@@ -304,6 +305,10 @@ def test_roi_controller() -> None:
304305
@no_type_check
305306
@pytest.mark.usefixtures("any_app")
306307
def test_roi_interaction() -> None:
308+
if _app.gui_frontend() == _app.GuiFrontend.JUPYTER and IS_PYGFX:
309+
pytest.skip("Invalid canvas size on CI")
310+
return
311+
307312
ctrl = ArrayViewer()
308313

309314
canvas_roi_start = (0, 0)

0 commit comments

Comments
 (0)