[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Pygame2 test failure



I just upgraded to the Pygame2 alpha 2 release, so I ran the tests to see if I had installed it properly. All the tests succeeded except for the Freetype font test. Here's the message it gave me:

FAIL: test_pygame2_freetype_Font_get_metrics (__main__.FreeTypeFontTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "freetype_font_test.py", line 110, in test_pygame2_freetype_Font_get_metrics
    self.assertEqual(f.get_metrics('ABCDabcd', ptsize=ptsize), test_data)
AssertionError: [None, None, None, None, None, None, None, None] != [(0, 12, 0, 16, 12), (1, 11, 0, 15, 12), (0, 12, 0, 15, 12), (1, 12, 0, 15, 12), (1, 11, 0, 11, 12), (1, 11, 0, 16, 12), (1, 11, 0, 11, 12), (1, 11, 0, 16, 12)]

----------------------------------------------------------------------
Ran 5 tests in 0.004s

FAILED (failures=1)

Program exited with code 01.

I tried to get a stack trace, but GDB told me that there was no stack. I'm running Ubuntu Intrepid Ibex 64 bit with Python 2.5.