Issue #120 resolved

surfarray_test error with numpy 1.6.2rc1

cgohlke
created an issue

{{{

ERROR: test_pixels2d (main.SurfarrayModuleTest)

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