surfarray_test error with numpy 1.6.2rc1

Issue #120 resolved
cgohlke created an issue


ERROR: test_pixels2d (main.SurfarrayModuleTest)

Traceback (most recent call last): File "", line 583, in test_pixels2d self._make_surface(24)) File "D:\Dev\Compile\PyGame\pygame-hg\test\test_utils\", line 363, in failUnlessRaises callableObj(args, *kwargs) File "X:\Python27\lib\site-packages\pygame\", line 153, in pixels2d return numpysf.pixels2d (surface) File "X:\Python27\lib\site-packages\", line 132, in pixels2d return numpy_array(surface.get_view('2'), copy=False) TypeError: data type not understood }}} A patch is attached.

Comments (6)

  1. Log in to comment