[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Color slice problem with Python 3
Hi,
The Color unit test is failing for Python 3.1:
======================================================================
ERROR: ColorTypeTest.test_slice
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/lenard/.local/lib/python3.1/site-packages/pygame/tests/color_test.py",
line 225, in test_slice
self.assertEquals((1,2,3,4), c[:])
TypeError: sequence index must be integer, not 'slice'
Lenard Lindstrom