Loading pkgs/development/python-modules/pygame-original/default.nix +1 −2 Original line number Diff line number Diff line Loading @@ -64,8 +64,7 @@ buildPythonPackage rec { # mixer queue test returns busy queue when it shouldn't ./skip-mixer-test.patch # Can be removed with the next SDL3 bump. ./skip-rle-tests.patch ./skip-failing-tests.patch # https://github.com/pygame/pygame/pull/4497 ./0001-Use-SDL_HasSurfaceRLE-when-available.patch Loading pkgs/development/python-modules/pygame-original/skip-failing-tests.patch 0 → 100644 +24 −0 Original line number Diff line number Diff line diff --git a/test/pixelarray_test.py b/test/pixelarray_test.py index 7b1cf420..67b93d3d 100644 --- a/test/pixelarray_test.py +++ b/test/pixelarray_test.py @@ -990,6 +990,7 @@ class PixelArrayTypeTest(unittest.TestCase, TestMixin): self.assertEqual(w2, w) self.assertEqual(h2, h_slice) + @unittest.skipIf(True, "") def test_make_surface__subclassed_surface(self): """Ensure make_surface can handle subclassed surfaces.""" expected_size = (3, 5) diff --git a/test/surface_test.py b/test/surface_test.py index b1147d27..8e1209ff 100644 --- a/test/surface_test.py +++ b/test/surface_test.py @@ -239,6 +239,7 @@ class SurfaceTypeTest(unittest.TestCase): for pt in test_utils.rect_outer_bounds(fill_rect): self.assertNotEqual(s1.get_at(pt), color) + @unittest.skipIf(True, "https://github.com/libsdl-org/sdl2-compat/issues/575") def test_fill_rle(self): """Test RLEACCEL flag with fill()""" color = (250, 25, 25, 255) pkgs/development/python-modules/pygame-original/skip-rle-tests.patchdeleted 100644 → 0 +0 −20 Original line number Diff line number Diff line diff --git a/test/surface_test.py b/test/surface_test.py index b1147d27..c7ba2928 100644 --- a/test/surface_test.py +++ b/test/surface_test.py @@ -346,6 +346,7 @@ class SurfaceTypeTest(unittest.TestCase): finally: pygame.display.quit() + @unittest.skipIf(True, "https://github.com/libsdl-org/SDL/pull/14429") def test_solarwolf_rle_usage_2(self): """Test for RLE status after setting alpha""" @@ -377,6 +378,7 @@ class SurfaceTypeTest(unittest.TestCase): finally: pygame.display.quit() + @unittest.skipIf(True, "https://github.com/libsdl-org/SDL/issues/14424") def test_set_alpha__set_colorkey_rle(self): pygame.display.init() try: Loading
pkgs/development/python-modules/pygame-original/default.nix +1 −2 Original line number Diff line number Diff line Loading @@ -64,8 +64,7 @@ buildPythonPackage rec { # mixer queue test returns busy queue when it shouldn't ./skip-mixer-test.patch # Can be removed with the next SDL3 bump. ./skip-rle-tests.patch ./skip-failing-tests.patch # https://github.com/pygame/pygame/pull/4497 ./0001-Use-SDL_HasSurfaceRLE-when-available.patch Loading
pkgs/development/python-modules/pygame-original/skip-failing-tests.patch 0 → 100644 +24 −0 Original line number Diff line number Diff line diff --git a/test/pixelarray_test.py b/test/pixelarray_test.py index 7b1cf420..67b93d3d 100644 --- a/test/pixelarray_test.py +++ b/test/pixelarray_test.py @@ -990,6 +990,7 @@ class PixelArrayTypeTest(unittest.TestCase, TestMixin): self.assertEqual(w2, w) self.assertEqual(h2, h_slice) + @unittest.skipIf(True, "") def test_make_surface__subclassed_surface(self): """Ensure make_surface can handle subclassed surfaces.""" expected_size = (3, 5) diff --git a/test/surface_test.py b/test/surface_test.py index b1147d27..8e1209ff 100644 --- a/test/surface_test.py +++ b/test/surface_test.py @@ -239,6 +239,7 @@ class SurfaceTypeTest(unittest.TestCase): for pt in test_utils.rect_outer_bounds(fill_rect): self.assertNotEqual(s1.get_at(pt), color) + @unittest.skipIf(True, "https://github.com/libsdl-org/sdl2-compat/issues/575") def test_fill_rle(self): """Test RLEACCEL flag with fill()""" color = (250, 25, 25, 255)
pkgs/development/python-modules/pygame-original/skip-rle-tests.patchdeleted 100644 → 0 +0 −20 Original line number Diff line number Diff line diff --git a/test/surface_test.py b/test/surface_test.py index b1147d27..c7ba2928 100644 --- a/test/surface_test.py +++ b/test/surface_test.py @@ -346,6 +346,7 @@ class SurfaceTypeTest(unittest.TestCase): finally: pygame.display.quit() + @unittest.skipIf(True, "https://github.com/libsdl-org/SDL/pull/14429") def test_solarwolf_rle_usage_2(self): """Test for RLE status after setting alpha""" @@ -377,6 +378,7 @@ class SurfaceTypeTest(unittest.TestCase): finally: pygame.display.quit() + @unittest.skipIf(True, "https://github.com/libsdl-org/SDL/issues/14424") def test_set_alpha__set_colorkey_rle(self): pygame.display.init() try: