gfxdraw unit tests test_aapolygon and test_pie fail for Python 3.2

Issue #80 open
Lenard Lindstrom created an issue
  • OS: Debian Gnu/Linux
  • hardware: 32 bit Intel
  • Compiler: gcc 4.4.5 for Pygame and Python interpreter

The gfxdraw unit tests return the following fail messages.

{{{

FAIL: GfxdrawDefaultTest.test_aapolygon

Traceback (most recent call last): File "/home/lenard/.local/lib/python3.2/site-packages/pygame/tests/gfxdraw_test.py", line 613, in test_aapolygon self.check_not_at(surf, posn, bg_adjusted) File "/home/lenard/.local/lib/python3.2/site-packages/pygame/tests/gfxdraw_test.py", line 72, in check_not_at self.failIfEqual(sc, color, fail_msg) AssertionError: (255, 255, 255, 255) != (255, 255, 255, 255) at (11, 80), bitsize: 8, flags: 0, masks: (96, 28, 3, 0)

====================================================================== FAIL: GfxdrawDefaultTest.test_pie


Traceback (most recent call last): File "/home/lenard/.local/lib/python3.2/site-packages/pygame/tests/gfxdraw_test.py", line 477, in test_pie self.check_at(surf, posn, bg_adjusted) File "/home/lenard/.local/lib/python3.2/site-packages/pygame/tests/gfxdraw_test.py", line 65, in check_at self.failUnlessEqual(sc, color, fail_msg) AssertionError: (128, 64, 8, 255) != (255, 255, 255, 255) at (45, 70), bitsize: 8, flags: 0, masks: (96, 28, 3, 0)


}}}

Comments (8)

  1. Niels Huylebroeck

    Can confirm on

    • OS: Ubuntu 12.04

    • Hardware: 64 bit Intel

    • Compiler: 4.6.3

    These tests failed for both python 2.7 and 3.2 on the latest checkout of pygame.

  2. Log in to comment