1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Simon McVittie <smcv@debian.org>
Date: Fri, 19 Dec 2025 18:07:02 +0000
Subject: video_test: Skip SDL_SetWindowMouseRect with sdl2-compat dummy
driver
This driver doesn't implement mouse confinement.
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://github.com/py-sdl/py-sdl2/pull/291
---
sdl2/test/video_test.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/sdl2/test/video_test.py b/sdl2/test/video_test.py
index 0b8801f..a216906 100644
--- a/sdl2/test/video_test.py
+++ b/sdl2/test/video_test.py
@@ -730,6 +730,7 @@ def test_SDL_GetGrabbedWindow(window):
# NOTE: Should implement this once the above tests are fixed
pass
+@pytest.mark.skipif(DRIVER_DUMMY, reason="Not implemented by dummy driver")
@pytest.mark.skipif(sdl2.dll.version < 2018, reason="not available")
def test_SDL_GetSetWindowMouseRect(with_sdl):
flags = sdl2.SDL_WINDOW_BORDERLESS
|