Skip to content

Instantly share code, notes, and snippets.

@ntoll
Created July 15, 2018 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntoll/893b3a58f21a48ef0cc94f1d58f80654 to your computer and use it in GitHub Desktop.
Save ntoll/893b3a58f21a48ef0cc94f1d58f80654 to your computer and use it in GitHub Desktop.
C:\Users\IEUser\Downloads>python -m pygame.tests
pygame 1.9.4.dev0
Hello from the pygame community. https://www.pygame.org/contribute.html
skipping pygame.tests.cdrom_test (tag 'interactive')
skipping pygame.tests.font_test (tag 'subprocess_ignore')
skipping pygame.tests.midi_test (tag 'interactive')
skipping pygame.tests.sndarray_test (tag 'subprocess_ignore')
skipping pygame.tests.surfarray_test (tag 'subprocess_ignore')
loading pygame.tests.base_test
loading pygame.tests.blit_test
loading pygame.tests.bufferproxy_test
loading pygame.tests.camera_test
loading pygame.tests.color_test
loading pygame.tests.compat_test
loading pygame.tests.cursors_test
loading pygame.tests.display_test
loading pygame.tests.draw_test
loading pygame.tests.event_test
loading pygame.tests.fastevent_test
loading pygame.tests.freetype_test
loading pygame.tests.ftfont_test
loading pygame.tests.gfxdraw_test
loading pygame.tests.image__save_gl_surface_test
loading pygame.tests.image_test
loading pygame.tests.imageext_test
loading pygame.tests.joystick_test
loading pygame.tests.key_test
loading pygame.tests.mask_test
loading pygame.tests.math_test
loading pygame.tests.mixer_music_test
loading pygame.tests.mixer_test
BUGGY TEST RESULTS EVAL:
{'pygame.tests.mixer_test': {'num_errors': 9,
'num_failures': 0,
'num_tests': 12,
'output': 'E...EEEEEEEE\n'
'========================================
==============================\n'
'ERROR: test_array_interface '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 368, in test_array_interface\n'
' mixer.init(22050, -16, 1)\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'========================================
==============================\n'
'ERROR: '
'test_get_num_channels__defaults_eight_af
ter_init '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 146, in '
'test_get_num_channels__defaults_eight_af
ter_init\n'
' mixer.init()\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'========================================
==============================\n'
'ERROR: test_get_raw '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 515, in test_get_raw\n'
' mixer.init()\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'========================================
==============================\n'
'ERROR: test_get_raw_more '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'test the array interface a bit '
'better.\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 541, in test_get_raw_more\n'
' mixer.init()\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'========================================
==============================\n'
'ERROR: test_init__keyword_args '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 46, in test_init__keyword_args\n'
' mixer.init(**kw_conf)\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'========================================
==============================\n'
'ERROR: test_newbuf '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 386, in test_newbuf\n'
' self.NEWBUF_test_newbuf()\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 393, in NEWBUF_test_newbuf\n'
' mixer.init(22050, -16, 1)\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'========================================
==============================\n'
'ERROR: test_quit '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'get_num_channels() Should throw '
'pygame.error if uninitialized\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 167, in test_quit\n'
' mixer.init()\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'========================================
==============================\n'
'ERROR: test_set_num_channels '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 155, in test_set_num_channels\n'
' mixer.init()\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'========================================
==============================\n'
'ERROR: test_sound_args '
'(pygame.tests.mixer_test.MixerModuleTest
)\n'
'----------------------------------------
------------------------------\n'
'Traceback (most recent call last):\n'
' File '
'"C:\\Users\\IEUser\\AppData\\Local\\Prog
rams\\Python\\Python37-32\\lib\\site-packages\\pygame\\tests\\mixer_test.py", '
'line 178, in test_sound_args\n'
' mixer.init()\n'
'pygame.error: DirectSoundCreate: No '
'audio device found\n'
'\n'
'----------------------------------------
------------------------------\n'
'Ran 12 tests in 0.000s\n'
'\n'
'FAILED (errors=9)\n'}}C:\Users\IEUser\Ap
pData\Local\Programs\Python\Python37-32\lib\runpy.py:125: RuntimeWarning: 'pygam
e.tests.test_utils.test_runner' found in sys.modules after import of package 'py
game.tests.test_utils', but prior to execution of 'pygame.tests.test_utils.test_
runner'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
Traceback (most recent call last):
File "C:\Users\IEUser\AppData\Local\Programs\Python\Python37-32\lib\runpy.py",
line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\IEUser\AppData\Local\Programs\Python\Python37-32\lib\runpy.py",
line 85, in _run_code
exec(code, run_globals)
File "C:\Users\IEUser\AppData\Local\Programs\Python\Python37-32\lib\site-packa
ges\pygame\tests\__main__.py", line 129, in <module>
run_and_exit(*args, **kwds)
File "C:\Users\IEUser\AppData\Local\Programs\Python\Python37-32\lib\site-packa
ges\pygame\tests\test_utils\run_tests.py", line 335, in run_and_exit
total, fails = run(*args, **kwargs)
File "C:\Users\IEUser\AppData\Local\Programs\Python\Python37-32\lib\site-packa
ges\pygame\tests\test_utils\run_tests.py", line 263, in run
test_results = get_test_results(raw_return)
File "C:\Users\IEUser\AppData\Local\Programs\Python\Python37-32\lib\site-packa
ges\pygame\tests\test_utils\test_runner.py", line 174, in get_test_results
return eval(test_results.group(1))
File "<string>", line 126
'FAILED (errors=9)\n'}}C:\Users\IEUser\AppData\Local\Programs\Python\Python3
7-32\lib\runpy.py:125: RuntimeWarning: 'pygame.tests.test_utils.test_runner' fou
nd in sys.modules after import of package 'pygame.tests.test_utils', but prior t
o execution of 'pygame.tests.test_utils.test_runner'; this may result in unpredi
ctable behaviour
^
SyntaxError: invalid syntax
C:\Users\IEUser\Downloads>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment