Commits

Marcus von Appen committed c03f471

- PyPy can't execute the RenderContext.fill() and RenderContext.copy() tests

  • Participants
  • Parent commits 2d6920d

Comments (0)

Files changed (1)

sdl2/test/sdl2ext_sprite_test.py

     def test_RenderContext_clear(self):
         pass
 
+    @unittest.skipIf(hasattr(sys, "pypy_version_info"),
+                     "PyPy's ctypes can't do byref(value, offset)")
     def test_RenderContext_copy(self):
         surface = SDL_CreateRGBSurface(0, 128, 128, 32, 0, 0, 0, 0).contents
         sdl2ext.fill(surface, 0x0)
     def test_RenderContext_draw_rect(self):
         pass
 
+    @unittest.skipIf(hasattr(sys, "pypy_version_info"),
+                     "PyPy's ctypes can't do byref(value, offset)")
     def test_RenderContext_fill(self):
         surface = SDL_CreateRGBSurface(0, 128, 128, 32, 0, 0, 0, 0).contents
         sdl2ext.fill(surface, 0x0)