Pygame mac issue

Issue #333 new
Chashmeet Singh
created an issue

Pygame always runs with an empty window even after running python -m pygame.tests which returns an error :

======================================================================
ERROR: test_SysFont (pygame.tests.font_test.FontModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/exxon/anaconda/envs/aind/lib/python3.6/site-packages/pygame/tests/font_test.py", line 43, in test_SysFont
    o = pygame_font.SysFont(fonts[0], 20)
  File "/Users/exxon/anaconda/envs/aind/lib/python3.6/site-packages/pygame/ftfont.py", line 182, in SysFont
    return _SysFont(name, size, bold, italic, constructor)
  File "/Users/exxon/anaconda/envs/aind/lib/python3.6/site-packages/pygame/sysfont.py", line 320, in SysFont
    return constructor(fontname, size, set_bold, set_italic)
  File "/Users/exxon/anaconda/envs/aind/lib/python3.6/site-packages/pygame/ftfont.py", line 179, in constructor
    font.set_italic(italic)
  File "/Users/exxon/anaconda/envs/aind/lib/python3.6/site-packages/pygame/ftfont.py", line 89, in set_italic
    self.oblique = bool(value)
AttributeError: this style is unsupported for a bitmap font

----------------------------------------------------------------------
Ran 701 tests in 50.742s

FAILED (errors=1)

Comments (0)

  1. Log in to comment