0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00
nixpkgs/pkgs/development/python-modules/pygame/skip-rle-tests.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
890 B
Diff
Raw Normal View History

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"""