0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00
nixpkgs/pkgs/development/python-modules/pygame/skip-rle-tests.patch
Marcin Serwin 99ecf06993
pygame: migrate to sdl2-compat
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-05-17 11:32:52 +02:00

20 lines
890 B
Diff

diff --git a/test/surface_test.py b/test/surface_test.py
index 4e4b5d4..ffc7ffb 100644
--- a/test/surface_test.py
+++ b/test/surface_test.py
@@ -375,6 +375,7 @@ class SurfaceTypeTest(unittest.TestCase):
self.assertTrue(s1.get_flags() & pygame.RLEACCELOK)
self.assertTrue(not s2.get_flags() & pygame.RLEACCELOK)
+ @unittest.skipIf(True, "https://github.com/libsdl-org/sdl2-compat/issues/476")
def test_solarwolf_rle_usage(self):
"""Test for error/crash when calling set_colorkey() followed
by convert twice in succession. Code originally taken
@@ -403,6 +404,7 @@ class SurfaceTypeTest(unittest.TestCase):
finally:
pygame.display.quit()
+ @unittest.skipIf(True, "https://github.com/libsdl-org/sdl2-compat/issues/476")
def test_solarwolf_rle_usage_2(self):
"""Test for RLE status after setting alpha"""