Skip to content

Instantly share code, notes, and snippets.

@GaetanLepage
Created March 4, 2024 07:49
Show Gist options
  • Save GaetanLepage/486c5287b41064fe0997675aebd35861 to your computer and use it in GitHub Desktop.
Save GaetanLepage/486c5287b41064fe0997675aebd35861 to your computer and use it in GitHub Desktop.
python311Packages.pygame build log
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/cp39f18d8vgpynhhl1vwvmahw6qhih9l-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/test/video_test.py
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
applying patch /nix/store/hdxxcqi6088n0cx3mcb7s64x0wy0pn48-fix-dependency-finding.patch
patching file buildconfig/config_darwin.py
patching file buildconfig/config_unix.py
substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'src_py/sysfont.py')
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
Using UNIX configuration...
/nix/store/087167dfxal194pm54cmcbbxsfy3cjgn-bash-5.2p26/bin/sh: line 1: dpkg-architecture: command not found
Hunting dependencies...
SDL : found 2.30.0
FONT : found
IMAGE : found
MIXER : found
PNG : found
JPEG : found
SCRAP : found
PORTMIDI: found
PORTTIME: found
FREETYPE: found 26.1.20
If you get compiler errors during install, double-check
the compiler flags in the "Setup" file.
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Executing pypaBuildPhase
Creating a wheel...
* Getting build dependencies for wheel...
Skipping Cython compilation
* Building wheel...
Compiling Cython files
Compiling src_c/cython/pygame/_sprite.pyx because it changed.
Compiling src_c/cython/pygame/pypm.pyx because it changed.
Compiling src_c/cython/pygame/_sdl2/video.pyx because it changed.
Compiling src_c/cython/pygame/_sdl2/sdl2.pyx because it changed.
Compiling src_c/cython/pygame/_sdl2/audio.pyx because it changed.
Compiling src_c/cython/pygame/_sdl2/mixer.pyx because it changed.
Compiling src_c/cython/pygame/_sdl2/controller.pyx because it changed.
[1/7] Cythonizing src_c/cython/pygame/_sprite.pyx
[2/7] Cythonizing src_c/cython/pygame/pypm.pyx
[3/7] Cythonizing src_c/cython/pygame/_sdl2/video.pyx
[4/7] Cythonizing src_c/cython/pygame/_sdl2/sdl2.pyx
[5/7] Cythonizing src_c/cython/pygame/_sdl2/audio.pyx
[6/7] Cythonizing src_c/cython/pygame/_sdl2/mixer.pyx
[7/7] Cythonizing src_c/cython/pygame/_sdl2/controller.pyx
src_c/pypm.c: In function ‘__pyx_pf_6pygame_4pypm_5Input___init__’:
src_c/pypm.c:7217:82: warning: passing argument 5 of ‘Pm_OpenInput’ from incompatible pointer type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;]
7217 | __pyx_v_err = Pm_OpenInput((&__pyx_v_self->midi), __pyx_t_2, NULL, __pyx_t_3, (&Pt_Time), NULL);
| ~^~~~~~~~~
| |
| PtTimestamp (*)(void) {aka int (*)(void)}
In file included from src_c/pypm.c:1200:
/nix/store/zdvla997z3h06ri35q1fv8a6fh87cg9z-portmidi-2.0.4/include/portmidi.h:399:31: note: expected ‘PmTimeProcPtr’ {aka ‘int (*)(void *)’} but argument is of type ‘PtTimestamp (*)(void)’ {aka ‘int (*)(void)’}
399 | PmTimeProcPtr time_proc,
| ~~~~~~~~~~~~~~^~~~~~~~~
src_c/SDL_gfx/SDL_gfxPrimitives.c: In function ‘_filledRectAlpha’:
src_c/SDL_gfx/SDL_gfxPrimitives.c:558:27: warning: unused variable ‘sA’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;]
558 | Uint8 sR, sG, sB, sA;
| ^~
src_c/SDL_gfx/SDL_gfxPrimitives.c: In function ‘_aalineColor’:
src_c/SDL_gfx/SDL_gfxPrimitives.c:2505:32: warning: variable ‘wgtcompmask’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;]
2505 | Uint32 erracctmp, wgt, wgtcompmask;
| ^~~~~~~~~~~
src_c/SDL_gfx/SDL_gfxPrimitives.c: In function ‘arcColor’:
src_c/SDL_gfx/SDL_gfxPrimitives.c:3100:9: warning: multi-line comment []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcomment-Wcomment]8;;]
3100 | // /|\
| ^
src_c/SDL_gfx/SDL_gfxPrimitives.c:3102:9: warning: multi-line comment []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcomment-Wcomment]8;;]
3102 | // / | \
| ^
src_c/display.c: In function ‘pg_GetVideoInfo’:
src_c/display.c:399: warning: ignoring ‘#pragma PG_WARN ’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunknown-pragmas-Wunknown-pragmas]8;;]
399 | #pragma PG_WARN(hardcoding wm_available to 1)
|
src_c/display.c:400: warning: ignoring ‘#pragma PG_WARN ’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunknown-pragmas-Wunknown-pragmas]8;;]
400 | #pragma PG_WARN(setting available video RAM to 0 KB)
|
src_c/display.c: In function ‘pg_set_mode’:
src_c/display.c:975: warning: ignoring ‘#pragma PG_WARN ’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunknown-pragmas-Wunknown-pragmas]8;;]
975 | #pragma PG_WARN(Not setting bpp ?)
|
src_c/display.c:976: warning: ignoring ‘#pragma PG_WARN ’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunknown-pragmas-Wunknown-pragmas]8;;]
976 | #pragma PG_WARN(Add mode stuff.)
|
src_c/display.c: In function ‘pg_mode_ok’:
src_c/display.c:1414: warning: ignoring ‘#pragma PG_WARN ’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunknown-pragmas-Wunknown-pragmas]8;;]
1414 | #pragma PG_WARN(Ignoring most flags)
|
src_c/display.c: In function ‘pg_list_modes’:
src_c/display.c:1468: warning: ignoring ‘#pragma PG_WARN ’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunknown-pragmas-Wunknown-pragmas]8;;]
1468 | #pragma PG_WARN(Ignoring flags)
|
src_c/display.c: At top level:
src_c/display.c:2617: warning: ignoring ‘#pragma PG_WARN ’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunknown-pragmas-Wunknown-pragmas]8;;]
2617 | #pragma PG_WARN(At some point should add GC slot functions.)
|
src_c/surface.c: In function ‘surf_convert_alpha’:
src_c/surface.c:1674: warning: ignoring ‘#pragma PG_WARN ’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunknown-pragmas-Wunknown-pragmas]8;;]
1674 | #pragma PG_WARN("srcsurf doesn't actually do anything?")
|
Successfully built pygame-2.5.2-cp311-cp311-linux_x86_64.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
buildPhase completed in 1 minutes 10 seconds
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Running phase: pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for pygame-2.5.2-cp311-cp311-linux_x86_64.whl
Finished executing pythonRuntimeDepsCheck
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: installPhase
Executing pypaInstallPhase
Successfully installed pygame-2.5.2-cp311-cp311-linux_x86_64.whl
Finished executing pypaInstallPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
Running phase: pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/newbuffer.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/imageext.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/math.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/mask.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/mixer_music.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/mouse.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/event.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/mixer.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_camera.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/image.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/scrap.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/constants.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_sdl2/audio.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_sdl2/mixer.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_sdl2/sdl2.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_sdl2/touch.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_sdl2/controller.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_sdl2/video.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/color.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/joystick.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/bufferproxy.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/font.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/surflock.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/pixelarray.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/rect.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/draw.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/surface.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/key.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_freetype.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/time.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/pypm.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/pixelcopy.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/gfxdraw.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/display.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/rwobject.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/transform.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/base.cpython-311-x86_64-linux-gnu.so
shrinking /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/_sprite.cpython-311-x86_64-linux-gnu.so
checking for references to /build/ in /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2...
patching script interpreter paths in /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2
stripping (with command strip and flags -S -p) in /nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/zhfq8yx5g69ap6z1xqsz0rhg5v3wqgab-python3.11-pygame-2.5.2-dist
checking for references to /build/ in /nix/store/zhfq8yx5g69ap6z1xqsz0rhg5v3wqgab-python3.11-pygame-2.5.2-dist...
patching script interpreter paths in /nix/store/zhfq8yx5g69ap6z1xqsz0rhg5v3wqgab-python3.11-pygame-2.5.2-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
Running phase: installCheckPhase
<frozen importlib._bootstrap>:241: RuntimeWarning: Your system is avx2 capable but pygame was not built with support for it. The performance of some of your blits could be adversely affected. Consider enabling compile time detection with environment variables like PYGAME_DETECT_AVX2=1 if you are compiling without cross compilation.
pygame 2.5.2 (SDL 2.30.0, Python 3.11.8)
Hello from the pygame community. https://www.pygame.org/contribute.html
skipping pygame.tests.scrap_test (tag 'ignore')
skipping pygame.tests.sndarray_test (tag 'ignore')
skipping pygame.tests.surfarray_test (tag 'ignore')
loading pygame.tests.base_test
test_GetView_array_struct (pygame.tests.base_test.BaseModuleTest.test_GetView_array_struct) ... ok
test_PgDict_AsBuffer_PyBUF_flags (pygame.tests.base_test.BaseModuleTest.test_PgDict_AsBuffer_PyBUF_flags) ... ok
test_PgObject_AsBuffer_PyBUF_flags (pygame.tests.base_test.BaseModuleTest.test_PgObject_AsBuffer_PyBUF_flags) ... ok
test_PgObject_GetBuffer_array_interface (pygame.tests.base_test.BaseModuleTest.test_PgObject_GetBuffer_array_interface) ... ok
test_PgObject_GetBuffer_exception (pygame.tests.base_test.BaseModuleTest.test_PgObject_GetBuffer_exception) ... ok
test_bad_format (pygame.tests.base_test.BaseModuleTest.test_bad_format) ... ok
test_get_error (pygame.tests.base_test.BaseModuleTest.test_get_error) ... ok
test_get_init (pygame.tests.base_test.BaseModuleTest.test_get_init) ... ok
test_get_init__after_init (pygame.tests.base_test.BaseModuleTest.test_get_init__after_init) ... ok
test_get_init__after_quit (pygame.tests.base_test.BaseModuleTest.test_get_init__after_quit) ... ok
test_get_sdl_byteorder (pygame.tests.base_test.BaseModuleTest.test_get_sdl_byteorder)
Ensure the SDL byte order is valid ... ok
test_get_sdl_version (pygame.tests.base_test.BaseModuleTest.test_get_sdl_version)
Ensure the SDL version is valid ... ok
test_init (pygame.tests.base_test.BaseModuleTest.test_init)
Ensures init() works properly. ... FAIL
test_newbuf (pygame.tests.base_test.BaseModuleTest.test_newbuf) ... ok
test_quit__and_init (pygame.tests.base_test.BaseModuleTest.test_quit__and_init) ... FAIL
test_register_quit (pygame.tests.base_test.BaseModuleTest.test_register_quit)
Ensure that a registered function is called on quit() ... ok
test_set_error (pygame.tests.base_test.BaseModuleTest.test_set_error) ... ok
test_unicode_error (pygame.tests.base_test.BaseModuleTest.test_unicode_error) ... ok
======================================================================
FAIL: test_init (pygame.tests.base_test.BaseModuleTest.test_init)
Ensures init() works properly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/base_test.py", line 600, in test_init
self.init_assertions()
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/base_test.py", line 521, in init_assertions
self.assertTrue(pygame.mixer.get_init())
AssertionError: None is not true
======================================================================
FAIL: test_quit__and_init (pygame.tests.base_test.BaseModuleTest.test_quit__and_init)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/base_test.py", line 539, in test_quit__and_init
self.init_assertions()
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/base_test.py", line 521, in init_assertions
self.assertTrue(pygame.mixer.get_init())
AssertionError: None is not true
----------------------------------------------------------------------
Ran 18 tests in 0.036s
FAILED (failures=2)
loading pygame.tests.blit_test
test_BLEND (pygame.tests.blit_test.BlitTest.test_BLEND)
BLEND_ tests. ... ok
test_SRCALPHA (pygame.tests.blit_test.BlitTest.test_SRCALPHA)
SRCALPHA tests. ... ok
test_blits (pygame.tests.blit_test.BlitTest.test_blits) ... ok
test_blits_bad_dest (pygame.tests.blit_test.BlitTest.test_blits_bad_dest) ... ok
test_blits_bad_surf_args (pygame.tests.blit_test.BlitTest.test_blits_bad_surf_args) ... ok
test_blits_not_sequence (pygame.tests.blit_test.BlitTest.test_blits_not_sequence) ... ok
test_blits_wrong_length (pygame.tests.blit_test.BlitTest.test_blits_wrong_length) ... ok
----------------------------------------------------------------------
Ran 7 tests in 0.001s
OK
loading pygame.tests.bufferproxy_test
test_length (pygame.tests.bufferproxy_test.BufferProxyLegacyTest.test_length) ... ok
test_raw (pygame.tests.bufferproxy_test.BufferProxyLegacyTest.test_raw) ... ok
test_write (pygame.tests.bufferproxy_test.BufferProxyLegacyTest.test_write) ... ok
test___array_interface___property (pygame.tests.bufferproxy_test.BufferProxyTest.test___array_interface___property) ... ok
test___array_struct___property (pygame.tests.bufferproxy_test.BufferProxyTest.test___array_struct___property) ... ok
test_after (pygame.tests.bufferproxy_test.BufferProxyTest.test_after) ... ok
test_attribute (pygame.tests.bufferproxy_test.BufferProxyTest.test_attribute) ... ok
test_before (pygame.tests.bufferproxy_test.BufferProxyTest.test_before) ... ok
test_c_api (pygame.tests.bufferproxy_test.BufferProxyTest.test_c_api) ... ok
test_class_name (pygame.tests.bufferproxy_test.BufferProxyTest.test_class_name) ... ok
test_gc (pygame.tests.bufferproxy_test.BufferProxyTest.test_gc)
refcount agnostic check that contained objects are freed ... ok
test_module_name (pygame.tests.bufferproxy_test.BufferProxyTest.test_module_name) ... ok
test_parent_property (pygame.tests.bufferproxy_test.BufferProxyTest.test_parent_property) ... ok
test_repr (pygame.tests.bufferproxy_test.BufferProxyTest.test_repr) ... ok
test_subclassing (pygame.tests.bufferproxy_test.BufferProxyTest.test_subclassing) ... ok
test_weakref (pygame.tests.bufferproxy_test.BufferProxyTest.test_weakref) ... ok
----------------------------------------------------------------------
Ran 16 tests in 0.022s
OK
loading pygame.tests.camera_test
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
loading pygame.tests.color_test
test_Color_type_works_for_Surface_get_and_set_colorkey (pygame.tests.color_test.ColorTypeTest.test_Color_type_works_for_Surface_get_and_set_colorkey) ... ok
test_add (pygame.tests.color_test.ColorTypeTest.test_add) ... ok
test_arraystruct (pygame.tests.color_test.ColorTypeTest.test_arraystruct) ... ok
test_case_insensitivity_of_string_args (pygame.tests.color_test.ColorTypeTest.test_case_insensitivity_of_string_args) ... ok
test_cmy__all_elements_within_limits (pygame.tests.color_test.ColorTypeTest.test_cmy__all_elements_within_limits) ... ok
test_cmy__sanity_testing_converted_should_equate_bar_rounding (pygame.tests.color_test.ColorTypeTest.test_cmy__sanity_testing_converted_should_equate_bar_rounding) ... ok
test_cmy__sanity_testing_converted_should_not_raise (pygame.tests.color_test.ColorTypeTest.test_cmy__sanity_testing_converted_should_not_raise) ... ok
test_collection_abc (pygame.tests.color_test.ColorTypeTest.test_collection_abc) ... ok
test_color (pygame.tests.color_test.ColorTypeTest.test_color)
Ensures Color objects can be created. ... ok
test_color__color_object_arg (pygame.tests.color_test.ColorTypeTest.test_color__color_object_arg)
Ensures Color objects can be created using Color objects. ... ok
test_color__hex_str_arg (pygame.tests.color_test.ColorTypeTest.test_color__hex_str_arg)
Ensures Color objects can be created using hex strings. ... ok
test_color__html_str_arg (pygame.tests.color_test.ColorTypeTest.test_color__html_str_arg)
Ensures Color objects can be created using html strings. ... ok
test_color__int_arg (pygame.tests.color_test.ColorTypeTest.test_color__int_arg)
Ensures Color objects can be created using one int value. ... ok
test_color__int_arg_invalid (pygame.tests.color_test.ColorTypeTest.test_color__int_arg_invalid)
Ensures invalid int values are detected when creating Color objects. ... ok
test_color__name_str_arg (pygame.tests.color_test.ColorTypeTest.test_color__name_str_arg)
Ensures Color objects can be created using str names. ... ok
test_color__name_str_arg_from_colordict (pygame.tests.color_test.ColorTypeTest.test_color__name_str_arg_from_colordict)
Ensures Color objects can be created using str names ... ok
test_color__rgba_int_args (pygame.tests.color_test.ColorTypeTest.test_color__rgba_int_args)
Ensures Color objects can be created using ints. ... ok
test_color__rgba_int_args_invalid_value (pygame.tests.color_test.ColorTypeTest.test_color__rgba_int_args_invalid_value)
Ensures invalid values are detected when creating Color objects. ... ok
test_color__rgba_int_args_invalid_value_without_alpha (pygame.tests.color_test.ColorTypeTest.test_color__rgba_int_args_invalid_value_without_alpha)
Ensures invalid values are detected when creating Color objects ... ok
test_color__rgba_int_args_without_alpha (pygame.tests.color_test.ColorTypeTest.test_color__rgba_int_args_without_alpha)
Ensures Color objects can be created without providing alpha. ... ok
test_color__sequence_arg (pygame.tests.color_test.ColorTypeTest.test_color__sequence_arg)
Ensures Color objects can be created using tuples/lists. ... ok
test_color__sequence_arg_invalid_format (pygame.tests.color_test.ColorTypeTest.test_color__sequence_arg_invalid_format)
Ensures invalid sequences are detected when creating Color objects ... ok
test_color__sequence_arg_invalid_value (pygame.tests.color_test.ColorTypeTest.test_color__sequence_arg_invalid_value)
Ensures invalid sequences are detected when creating Color objects. ... ok
test_color__sequence_arg_invalid_value_without_alpha (pygame.tests.color_test.ColorTypeTest.test_color__sequence_arg_invalid_value_without_alpha)
Ensures invalid sequences are detected when creating Color objects ... ok
test_color__sequence_arg_without_alpha (pygame.tests.color_test.ColorTypeTest.test_color__sequence_arg_without_alpha)
Ensures Color objects can be created using tuples/lists ... ok
test_color_contains (pygame.tests.color_test.ColorTypeTest.test_color_contains) ... ok
test_color_iter (pygame.tests.color_test.ColorTypeTest.test_color_iter) ... ok
test_comparison (pygame.tests.color_test.ColorTypeTest.test_comparison) ... ok
test_correct_gamma__verified_against_python_implementation (pygame.tests.color_test.ColorTypeTest.test_correct_gamma__verified_against_python_implementation)
|tags:slow| ... ok
test_div (pygame.tests.color_test.ColorTypeTest.test_div) ... ok
test_float (pygame.tests.color_test.ColorTypeTest.test_float) ... ok
test_get_item (pygame.tests.color_test.ColorTypeTest.test_get_item) ... ok
test_grayscale (pygame.tests.color_test.ColorTypeTest.test_grayscale) ... ok
test_hex (pygame.tests.color_test.ColorTypeTest.test_hex) ... ok
test_hex_digits (pygame.tests.color_test.ColorTypeTest.test_hex_digits) ... ok
test_hsla__all_elements_within_limits (pygame.tests.color_test.ColorTypeTest.test_hsla__all_elements_within_limits) ... ok
test_hsla__sanity_testing_converted_should_equate_bar_rounding (pygame.tests.color_test.ColorTypeTest.test_hsla__sanity_testing_converted_should_equate_bar_rounding) ... ok
test_hsla__sanity_testing_converted_should_not_raise (pygame.tests.color_test.ColorTypeTest.test_hsla__sanity_testing_converted_should_not_raise) ... ok
test_hsva__all_elements_within_limits (pygame.tests.color_test.ColorTypeTest.test_hsva__all_elements_within_limits) ... ok
test_hsva__sanity_testing_converted_should_equate_bar_rounding (pygame.tests.color_test.ColorTypeTest.test_hsva__sanity_testing_converted_should_equate_bar_rounding) ... ok
test_hsva__sanity_testing_converted_should_not_raise (pygame.tests.color_test.ColorTypeTest.test_hsva__sanity_testing_converted_should_not_raise) ... ok
test_i1i2i3__all_elements_within_limits (pygame.tests.color_test.ColorTypeTest.test_i1i2i3__all_elements_within_limits) ... ok
test_i1i2i3__sanity_testing_converted_should_equate_bar_rounding (pygame.tests.color_test.ColorTypeTest.test_i1i2i3__sanity_testing_converted_should_equate_bar_rounding) ... ok
test_i1i2i3__sanity_testing_converted_should_not_raise (pygame.tests.color_test.ColorTypeTest.test_i1i2i3__sanity_testing_converted_should_not_raise) ... ok
test_ignore_whitespace (pygame.tests.color_test.ColorTypeTest.test_ignore_whitespace) ... ok
test_init (pygame.tests.color_test.ColorTypeTest.test_init) ... ok
test_int (pygame.tests.color_test.ColorTypeTest.test_int) ... ok
test_invalid_html_hex_codes (pygame.tests.color_test.ColorTypeTest.test_invalid_html_hex_codes) ... ok
test_issue_269 (pygame.tests.color_test.ColorTypeTest.test_issue_269)
PyColor OverflowError on HSVA with hue value of 360 ... ok
test_len (pygame.tests.color_test.ColorTypeTest.test_len) ... ok
test_length (pygame.tests.color_test.ColorTypeTest.test_length) ... ok
test_lerp (pygame.tests.color_test.ColorTypeTest.test_lerp) ... ok
test_long (pygame.tests.color_test.ColorTypeTest.test_long) ... ok
test_mod (pygame.tests.color_test.ColorTypeTest.test_mod) ... ok
test_mul (pygame.tests.color_test.ColorTypeTest.test_mul) ... ok
test_new (pygame.tests.color_test.ColorTypeTest.test_new) ... ok
test_newbuf (pygame.tests.color_test.ColorTypeTest.test_newbuf) ... ok
test_normalize (pygame.tests.color_test.ColorTypeTest.test_normalize) ... ok
test_oct (pygame.tests.color_test.ColorTypeTest.test_oct) ... ok
test_pickle (pygame.tests.color_test.ColorTypeTest.test_pickle) ... ok
test_premul_alpha (pygame.tests.color_test.ColorTypeTest.test_premul_alpha) ... ok
test_repr (pygame.tests.color_test.ColorTypeTest.test_repr) ... ok
test_rgba (pygame.tests.color_test.ColorTypeTest.test_rgba) ... ok
test_set_item (pygame.tests.color_test.ColorTypeTest.test_set_item) ... ok
test_slice (pygame.tests.color_test.ColorTypeTest.test_slice) ... ok
test_sub (pygame.tests.color_test.ColorTypeTest.test_sub) ... ok
test_unpack (pygame.tests.color_test.ColorTypeTest.test_unpack) ... ok
test_update (pygame.tests.color_test.ColorTypeTest.test_update) ... ok
test_webstyle (pygame.tests.color_test.ColorTypeTest.test_webstyle) ... ok
test_add (pygame.tests.color_test.SubclassTest.test_add) ... ok
test_collection_abc (pygame.tests.color_test.SubclassTest.test_collection_abc) ... ok
test_correct_gamma (pygame.tests.color_test.SubclassTest.test_correct_gamma) ... ok
test_div (pygame.tests.color_test.SubclassTest.test_div) ... ok
test_inv (pygame.tests.color_test.SubclassTest.test_inv) ... ok
test_mod (pygame.tests.color_test.SubclassTest.test_mod) ... ok
test_mul (pygame.tests.color_test.SubclassTest.test_mul) ... ok
test_sub (pygame.tests.color_test.SubclassTest.test_sub) ... ok
----------------------------------------------------------------------
Ran 77 tests in 0.031s
OK
loading pygame.tests.constants_test
test_k__existence (pygame.tests.constants_test.KConstantsTests.test_k__existence)
Ensures K constants exist. ... ok
test_k__type (pygame.tests.constants_test.KConstantsTests.test_k__type)
Ensures K constants are the correct type. ... ok
test_k__value_overlap (pygame.tests.constants_test.KConstantsTests.test_k__value_overlap)
Ensures no unexpected K constant values overlap. ... ok
test_kmod__bitwise_overlap (pygame.tests.constants_test.KmodConstantsTests.test_kmod__bitwise_overlap)
Ensures certain KMOD constants have overlapping bits. ... ok
test_kmod__existence (pygame.tests.constants_test.KmodConstantsTests.test_kmod__existence)
Ensures KMOD constants exist. ... ok
test_kmod__no_bitwise_overlap (pygame.tests.constants_test.KmodConstantsTests.test_kmod__no_bitwise_overlap)
Ensures certain KMOD constants have no overlapping bits. ... ok
test_kmod__type (pygame.tests.constants_test.KmodConstantsTests.test_kmod__type)
Ensures KMOD constants are the correct type. ... ok
test_kmod__value_overlap (pygame.tests.constants_test.KmodConstantsTests.test_kmod__value_overlap)
Ensures no unexpected KMOD constant values overlap. ... ok
test_kscan__existence (pygame.tests.constants_test.KscanConstantsTests.test_kscan__existence)
Ensures KSCAN constants exist. ... ok
test_kscan__type (pygame.tests.constants_test.KscanConstantsTests.test_kscan__type)
Ensures KSCAN constants are the correct type. ... ok
test_kscan__value_overlap (pygame.tests.constants_test.KscanConstantsTests.test_kscan__value_overlap)
Ensures no unexpected KSCAN constant values overlap. ... ok
----------------------------------------------------------------------
Ran 11 tests in 0.000s
OK
loading pygame.tests.controller_test
test_get_count (pygame.tests.controller_test.ControllerModuleTest.test_get_count) ... ok
test_get_eventstate (pygame.tests.controller_test.ControllerModuleTest.test_get_eventstate) ... ok
test_get_init (pygame.tests.controller_test.ControllerModuleTest.test_get_init) ... ok
test_init (pygame.tests.controller_test.ControllerModuleTest.test_init) ... ok
test_init__multiple (pygame.tests.controller_test.ControllerModuleTest.test_init__multiple) ... ok
test_is_controller (pygame.tests.controller_test.ControllerModuleTest.test_is_controller) ... ok
test_name_forindex (pygame.tests.controller_test.ControllerModuleTest.test_name_forindex) ... ok
test_quit (pygame.tests.controller_test.ControllerModuleTest.test_quit) ... ok
test_quit__multiple (pygame.tests.controller_test.ControllerModuleTest.test_quit__multiple) ... ok
test__auto_init (pygame.tests.controller_test.ControllerTypeTest.test__auto_init) ... skipped 'No controller connected'
test_as_joystick (pygame.tests.controller_test.ControllerTypeTest.test_as_joystick) ... skipped 'No controller connected'
test_construction (pygame.tests.controller_test.ControllerTypeTest.test_construction) ... skipped 'No controller connected'
test_from_joystick (pygame.tests.controller_test.ControllerTypeTest.test_from_joystick) ... skipped 'No controller connected'
test_get_init (pygame.tests.controller_test.ControllerTypeTest.test_get_init) ... skipped 'No controller connected'
test_get_mapping (pygame.tests.controller_test.ControllerTypeTest.test_get_mapping) ... skipped 'No controller connected'
test_set_mapping (pygame.tests.controller_test.ControllerTypeTest.test_set_mapping) ... skipped 'No controller connected'
----------------------------------------------------------------------
Ran 16 tests in 0.057s
OK (skipped=7)
loading pygame.tests.cursors_test
test_Cursor (pygame.tests.cursors_test.CursorsModuleTest.test_Cursor)
Ensure that the cursor object parses information properly ... ok
test_compile (pygame.tests.cursors_test.CursorsModuleTest.test_compile) ... ok
test_load_xbm (pygame.tests.cursors_test.CursorsModuleTest.test_load_xbm) ... ok
----------------------------------------------------------------------
Ran 3 tests in 0.005s
OK
loading pygame.tests.display_test
test_Info (pygame.tests.display_test.DisplayModuleTest.test_Info) ... ok
test_caption_unicode (pygame.tests.display_test.DisplayModuleTest.test_caption_unicode) ... ok
test_flip (pygame.tests.display_test.DisplayModuleTest.test_flip) ... ok
test_get_active (pygame.tests.display_test.DisplayModuleTest.test_get_active)
Test the get_active function ... ok
test_get_active_iconify (pygame.tests.display_test.DisplayModuleTest.test_get_active_iconify)
Test the get_active function after an iconify ... skipped 'requires the SDL_VIDEODRIVER to be a non dummy value'
test_get_caption (pygame.tests.display_test.DisplayModuleTest.test_get_caption) ... ok
test_get_driver (pygame.tests.display_test.DisplayModuleTest.test_get_driver) ... ok
test_get_init (pygame.tests.display_test.DisplayModuleTest.test_get_init)
Ensures the module's initialization state can be retrieved. ... ok
test_get_num_displays (pygame.tests.display_test.DisplayModuleTest.test_get_num_displays) ... ok
test_get_surface (pygame.tests.display_test.DisplayModuleTest.test_get_surface)
Ensures get_surface gets the current display surface. ... skipped 'SDL2 issues'
test_get_surface__mode_not_set (pygame.tests.display_test.DisplayModuleTest.test_get_surface__mode_not_set)
Ensures get_surface handles the display mode not being set. ... ok
test_get_wm_info (pygame.tests.display_test.DisplayModuleTest.test_get_wm_info) ... ok
test_gl_get_attribute (pygame.tests.display_test.DisplayModuleTest.test_gl_get_attribute) ... skipped 'OpenGL requires a non-"dummy" SDL_VIDEODRIVER'
test_gl_get_attribute_kwargs (pygame.tests.display_test.DisplayModuleTest.test_gl_get_attribute_kwargs) ... skipped 'OpenGL requires a non-"dummy" SDL_VIDEODRIVER'
test_gl_set_attribute (pygame.tests.display_test.DisplayModuleTest.test_gl_set_attribute) ... skipped 'OpenGL requires a non-"dummy" SDL_VIDEODRIVER'
test_gl_set_attribute_kwargs (pygame.tests.display_test.DisplayModuleTest.test_gl_set_attribute_kwargs) ... skipped 'OpenGL requires a non-"dummy" SDL_VIDEODRIVER'
test_iconify (pygame.tests.display_test.DisplayModuleTest.test_iconify) ... skipped 'iconify is only supported on some video drivers/platforms'
test_init (pygame.tests.display_test.DisplayModuleTest.test_init)
Ensures the module is initialized after init called. ... ok
test_init__multiple (pygame.tests.display_test.DisplayModuleTest.test_init__multiple)
Ensures the module is initialized after multiple init calls. ... ok
test_list_modes (pygame.tests.display_test.DisplayModuleTest.test_list_modes) ... ok
test_mode_ok (pygame.tests.display_test.DisplayModuleTest.test_mode_ok) ... ok
test_mode_ok_fullscreen (pygame.tests.display_test.DisplayModuleTest.test_mode_ok_fullscreen) ... ok
test_mode_ok_scaled (pygame.tests.display_test.DisplayModuleTest.test_mode_ok_scaled) ... ok
test_quit (pygame.tests.display_test.DisplayModuleTest.test_quit)
Ensures the module is not initialized after quit called. ... ok
test_quit__multiple (pygame.tests.display_test.DisplayModuleTest.test_quit__multiple)
Ensures the module is not initialized after multiple quit calls. ... ok
test_screensaver_support (pygame.tests.display_test.DisplayModuleTest.test_screensaver_support) ... ok
test_set_caption (pygame.tests.display_test.DisplayModuleTest.test_set_caption) ... ok
test_set_caption_kwargs (pygame.tests.display_test.DisplayModuleTest.test_set_caption_kwargs) ... ok
test_set_gamma (pygame.tests.display_test.DisplayModuleTest.test_set_gamma) ... skipped 'Needs a not dummy videodriver'
test_set_gamma__tuple (pygame.tests.display_test.DisplayModuleTest.test_set_gamma__tuple) ... skipped 'Needs a not dummy videodriver'
test_set_gamma_ramp (pygame.tests.display_test.DisplayModuleTest.test_set_gamma_ramp) ... ok
test_set_mode_kwargs (pygame.tests.display_test.DisplayModuleTest.test_set_mode_kwargs) ... ok
test_set_mode_scaled (pygame.tests.display_test.DisplayModuleTest.test_set_mode_scaled) ... ok
test_set_mode_unscaled (pygame.tests.display_test.DisplayModuleTest.test_set_mode_unscaled)
Ensures a window created with SCALED can become smaller. ... ok
test_set_mode_vector2 (pygame.tests.display_test.DisplayModuleTest.test_set_mode_vector2) ... ok
test_set_palette (pygame.tests.display_test.DisplayModuleTest.test_set_palette) ... skipped 'set_palette() not supported in SDL2'
test_set_palette_kwargs (pygame.tests.display_test.DisplayModuleTest.test_set_palette_kwargs) ... skipped 'set_palette() not supported in SDL2'
test_toggle_fullscreen (pygame.tests.display_test.DisplayModuleTest.test_toggle_fullscreen)
Test for toggle fullscreen ... skipped 'requires the SDL_VIDEODRIVER to be non dummy'
test_update_args (pygame.tests.display_test.DisplayUpdateTest.test_update_args)
updates the display using the args as a rect. ... ok
test_update_incorrect_args (pygame.tests.display_test.DisplayUpdateTest.test_update_incorrect_args)
raises a ValueError when inputs are wrong. ... ok
test_update_negative (pygame.tests.display_test.DisplayUpdateTest.test_update_negative)
takes rects with negative values. ... ok
test_update_no_args (pygame.tests.display_test.DisplayUpdateTest.test_update_no_args)
does NOT update the display. ... ok
test_update_no_init (pygame.tests.display_test.DisplayUpdateTest.test_update_no_init)
raises a pygame.error. ... ok
test_update_none (pygame.tests.display_test.DisplayUpdateTest.test_update_none)
does NOT update the display. ... ok
test_update_none_skipped (pygame.tests.display_test.DisplayUpdateTest.test_update_none_skipped)
None is skipped inside sequences. ... ok
test_update_sequence (pygame.tests.display_test.DisplayUpdateTest.test_update_sequence)
only updates the part of the display given by the rects. ... ok
test_x11_set_mode_crash_gh1654 (pygame.tests.display_test.X11CrashTest.test_x11_set_mode_crash_gh1654) ... ok
----------------------------------------------------------------------
Ran 47 tests in 0.072s
OK (skipped=12)
loading pygame.tests.docs_test
test_doc_import_works (pygame.tests.docs_test.DocsIncludedTest.test_doc_import_works) ... ok
test_docs_command (pygame.tests.docs_test.DocsIncludedTest.test_docs_command) ... skipped 'Docs not required for local builds'
test_docs_included (pygame.tests.docs_test.DocsIncludedTest.test_docs_included) ... skipped 'Docs not required for local builds'
----------------------------------------------------------------------
Ran 3 tests in 0.002s
OK (skipped=2)
loading pygame.tests.draw_test
test_aaline__arg_invalid_types (pygame.tests.draw_test.DrawAALineTest.test_aaline__arg_invalid_types)
Ensures draw aaline detects invalid arg types. ... ok
test_aaline__args (pygame.tests.draw_test.DrawAALineTest.test_aaline__args)
Ensures draw aaline accepts the correct args. ... ok
test_aaline__args_and_kwargs (pygame.tests.draw_test.DrawAALineTest.test_aaline__args_and_kwargs)
Ensures draw aaline accepts a combination of args/kwargs ... ok
test_aaline__args_missing (pygame.tests.draw_test.DrawAALineTest.test_aaline__args_missing)
Ensures draw aaline detects any missing required args. ... ok
test_aaline__args_without_blend (pygame.tests.draw_test.DrawAALineTest.test_aaline__args_without_blend)
Ensures draw aaline accepts the args without a blend. ... ok
test_aaline__blend_warning (pygame.tests.draw_test.DrawAALineTest.test_aaline__blend_warning)
From pygame 2, blend=False should raise DeprecationWarning. ... ok
test_aaline__bounding_rect (pygame.tests.draw_test.DrawAALineTest.test_aaline__bounding_rect)
Ensures draw aaline returns the correct bounding rect. ... ok
test_aaline__color (pygame.tests.draw_test.DrawAALineTest.test_aaline__color)
Tests if the aaline drawn is the correct color. ... ok
test_aaline__gaps (pygame.tests.draw_test.DrawAALineTest.test_aaline__gaps)
Tests if the aaline drawn contains any gaps. ... ok
test_aaline__invalid_color_formats (pygame.tests.draw_test.DrawAALineTest.test_aaline__invalid_color_formats)
Ensures draw aaline handles invalid color formats correctly. ... ok
test_aaline__invalid_end_pos_formats (pygame.tests.draw_test.DrawAALineTest.test_aaline__invalid_end_pos_formats)
Ensures draw aaline handles invalid end_pos formats correctly. ... ok
test_aaline__invalid_start_pos_formats (pygame.tests.draw_test.DrawAALineTest.test_aaline__invalid_start_pos_formats)
Ensures draw aaline handles invalid start_pos formats correctly. ... ok
test_aaline__kwarg_invalid_name (pygame.tests.draw_test.DrawAALineTest.test_aaline__kwarg_invalid_name)
Ensures draw aaline detects invalid kwarg names. ... ok
test_aaline__kwarg_invalid_types (pygame.tests.draw_test.DrawAALineTest.test_aaline__kwarg_invalid_types)
Ensures draw aaline detects invalid kwarg types. ... ok
test_aaline__kwargs (pygame.tests.draw_test.DrawAALineTest.test_aaline__kwargs)
Ensures draw aaline accepts the correct kwargs ... ok
test_aaline__kwargs_missing (pygame.tests.draw_test.DrawAALineTest.test_aaline__kwargs_missing)
Ensures draw aaline detects any missing required kwargs. ... ok
test_aaline__kwargs_order_independent (pygame.tests.draw_test.DrawAALineTest.test_aaline__kwargs_order_independent)
Ensures draw aaline's kwargs are not order dependent. ... ok
test_aaline__surface_clip (pygame.tests.draw_test.DrawAALineTest.test_aaline__surface_clip)
Ensures draw aaline respects a surface's clip area. ... ok
test_aaline__valid_color_formats (pygame.tests.draw_test.DrawAALineTest.test_aaline__valid_color_formats)
Ensures draw aaline accepts different color formats. ... ok
test_aaline__valid_end_pos_formats (pygame.tests.draw_test.DrawAALineTest.test_aaline__valid_end_pos_formats)
Ensures draw aaline accepts different end_pos formats. ... ok
test_aaline__valid_start_pos_formats (pygame.tests.draw_test.DrawAALineTest.test_aaline__valid_start_pos_formats)
Ensures draw aaline accepts different start_pos formats. ... ok
test_aaline_endianness (pygame.tests.draw_test.DrawAALineTest.test_aaline_endianness)
test color component order ... ok
test_anti_aliasing_at_and_outside_the_border (pygame.tests.draw_test.DrawAALineTest.test_anti_aliasing_at_and_outside_the_border)
Ensures antialiasing works correct at a surface's borders. ... ok
test_anti_aliasing_float_coordinates (pygame.tests.draw_test.DrawAALineTest.test_anti_aliasing_float_coordinates)
Float coordinates should be blended smoothly. ... ok
test_short_line_anti_aliasing (pygame.tests.draw_test.DrawAALineTest.test_short_line_anti_aliasing) ... ok
test_short_non_antialiased_lines (pygame.tests.draw_test.DrawAALineTest.test_short_non_antialiased_lines)
test very short not anti aliased lines in all directions. ... ok
test_aalines__arg_invalid_types (pygame.tests.draw_test.DrawAALinesTest.test_aalines__arg_invalid_types)
Ensures draw aalines detects invalid arg types. ... ok
test_aalines__args (pygame.tests.draw_test.DrawAALinesTest.test_aalines__args)
Ensures draw aalines accepts the correct args. ... ok
test_aalines__args_and_kwargs (pygame.tests.draw_test.DrawAALinesTest.test_aalines__args_and_kwargs)
Ensures draw aalines accepts a combination of args/kwargs ... ok
test_aalines__args_missing (pygame.tests.draw_test.DrawAALinesTest.test_aalines__args_missing)
Ensures draw aalines detects any missing required args. ... ok
test_aalines__args_without_blend (pygame.tests.draw_test.DrawAALinesTest.test_aalines__args_without_blend)
Ensures draw aalines accepts the args without a blend. ... ok
test_aalines__blend_warning (pygame.tests.draw_test.DrawAALinesTest.test_aalines__blend_warning)
From pygame 2, blend=False should raise DeprecationWarning. ... ok
test_aalines__bounding_rect (pygame.tests.draw_test.DrawAALinesTest.test_aalines__bounding_rect)
Ensures draw aalines returns the correct bounding rect. ... ok
test_aalines__color (pygame.tests.draw_test.DrawAALinesTest.test_aalines__color)
Tests if the aalines drawn are the correct color. ... ok
test_aalines__gaps (pygame.tests.draw_test.DrawAALinesTest.test_aalines__gaps)
Tests if the aalines drawn contain any gaps. ... ok
test_aalines__invalid_color_formats (pygame.tests.draw_test.DrawAALinesTest.test_aalines__invalid_color_formats)
Ensures draw aalines handles invalid color formats correctly. ... ok
test_aalines__invalid_points_formats (pygame.tests.draw_test.DrawAALinesTest.test_aalines__invalid_points_formats)
Ensures draw aalines handles invalid points formats correctly. ... ok
test_aalines__invalid_points_values (pygame.tests.draw_test.DrawAALinesTest.test_aalines__invalid_points_values)
Ensures draw aalines handles invalid points values correctly. ... ok
test_aalines__kwarg_invalid_name (pygame.tests.draw_test.DrawAALinesTest.test_aalines__kwarg_invalid_name)
Ensures draw aalines detects invalid kwarg names. ... ok
test_aalines__kwarg_invalid_types (pygame.tests.draw_test.DrawAALinesTest.test_aalines__kwarg_invalid_types)
Ensures draw aalines detects invalid kwarg types. ... ok
test_aalines__kwargs (pygame.tests.draw_test.DrawAALinesTest.test_aalines__kwargs)
Ensures draw aalines accepts the correct kwargs. ... ok
test_aalines__kwargs_missing (pygame.tests.draw_test.DrawAALinesTest.test_aalines__kwargs_missing)
Ensures draw aalines detects any missing required kwargs. ... ok
test_aalines__kwargs_order_independent (pygame.tests.draw_test.DrawAALinesTest.test_aalines__kwargs_order_independent)
Ensures draw aalines's kwargs are not order dependent. ... ok
test_aalines__surface_clip (pygame.tests.draw_test.DrawAALinesTest.test_aalines__surface_clip)
Ensures draw aalines respects a surface's clip area. ... ok
test_aalines__valid_closed_values (pygame.tests.draw_test.DrawAALinesTest.test_aalines__valid_closed_values)
Ensures draw aalines accepts different closed values. ... ok
test_aalines__valid_color_formats (pygame.tests.draw_test.DrawAALinesTest.test_aalines__valid_color_formats)
Ensures draw aalines accepts different color formats. ... ok
test_aalines__valid_points_format (pygame.tests.draw_test.DrawAALinesTest.test_aalines__valid_points_format)
Ensures draw aalines accepts different points formats. ... ok
test_arc (pygame.tests.draw_test.DrawArcTest.test_arc)
Ensure draw arc works correctly. ... ok
test_arc__arg_invalid_types (pygame.tests.draw_test.DrawArcTest.test_arc__arg_invalid_types)
Ensures draw arc detects invalid arg types. ... ok
test_arc__args (pygame.tests.draw_test.DrawArcTest.test_arc__args)
Ensures draw arc accepts the correct args. ... ok
test_arc__args_and_kwargs (pygame.tests.draw_test.DrawArcTest.test_arc__args_and_kwargs)
Ensures draw arc accepts a combination of args/kwargs ... ok
test_arc__args_missing (pygame.tests.draw_test.DrawArcTest.test_arc__args_missing)
Ensures draw arc detects any missing required args. ... ok
test_arc__args_with_negative_width (pygame.tests.draw_test.DrawArcTest.test_arc__args_with_negative_width)
Ensures draw arc accepts the args with negative width. ... ok
test_arc__args_with_width_gt_radius (pygame.tests.draw_test.DrawArcTest.test_arc__args_with_width_gt_radius)
Ensures draw arc accepts the args with ... ok
test_arc__args_without_width (pygame.tests.draw_test.DrawArcTest.test_arc__args_without_width)
Ensures draw arc accepts the args without a width. ... ok
test_arc__bounding_rect (pygame.tests.draw_test.DrawArcTest.test_arc__bounding_rect)
Ensures draw arc returns the correct bounding rect. ... ok
test_arc__invalid_color_formats (pygame.tests.draw_test.DrawArcTest.test_arc__invalid_color_formats)
Ensures draw arc handles invalid color formats correctly. ... ok
test_arc__kwarg_invalid_name (pygame.tests.draw_test.DrawArcTest.test_arc__kwarg_invalid_name)
Ensures draw arc detects invalid kwarg names. ... ok
test_arc__kwarg_invalid_types (pygame.tests.draw_test.DrawArcTest.test_arc__kwarg_invalid_types)
Ensures draw arc detects invalid kwarg types. ... ok
test_arc__kwargs (pygame.tests.draw_test.DrawArcTest.test_arc__kwargs)
Ensures draw arc accepts the correct kwargs ... ok
test_arc__kwargs_missing (pygame.tests.draw_test.DrawArcTest.test_arc__kwargs_missing)
Ensures draw arc detects any missing required kwargs. ... ok
test_arc__kwargs_order_independent (pygame.tests.draw_test.DrawArcTest.test_arc__kwargs_order_independent)
Ensures draw arc's kwargs are not order dependent. ... ok
test_arc__surface_clip (pygame.tests.draw_test.DrawArcTest.test_arc__surface_clip)
Ensures draw arc respects a surface's clip area. ... ok
test_arc__valid_color_formats (pygame.tests.draw_test.DrawArcTest.test_arc__valid_color_formats)
Ensures draw arc accepts different color formats. ... ok
test_arc__valid_rect_formats (pygame.tests.draw_test.DrawArcTest.test_arc__valid_rect_formats)
Ensures draw arc accepts different rect formats. ... ok
test_arc__valid_start_angle_values (pygame.tests.draw_test.DrawArcTest.test_arc__valid_start_angle_values)
Ensures draw arc accepts different start_angle values. ... ok
test_arc__valid_stop_angle_values (pygame.tests.draw_test.DrawArcTest.test_arc__valid_stop_angle_values)
Ensures draw arc accepts different stop_angle values. ... ok
test_arc__valid_width_values (pygame.tests.draw_test.DrawArcTest.test_arc__valid_width_values)
Ensures draw arc accepts different width values. ... ok
test_circle__arg_invalid_types (pygame.tests.draw_test.DrawCircleTest.test_circle__arg_invalid_types)
Ensures draw circle detects invalid arg types. ... ok
test_circle__args (pygame.tests.draw_test.DrawCircleTest.test_circle__args)
Ensures draw circle accepts the correct args. ... ok
test_circle__args_and_kwargs (pygame.tests.draw_test.DrawCircleTest.test_circle__args_and_kwargs)
Ensures draw circle accepts a combination of args/kwargs ... ok
test_circle__args_missing (pygame.tests.draw_test.DrawCircleTest.test_circle__args_missing)
Ensures draw circle detects any missing required args. ... ok
test_circle__args_with_negative_width (pygame.tests.draw_test.DrawCircleTest.test_circle__args_with_negative_width)
Ensures draw circle accepts the args with negative width. ... ok
test_circle__args_with_width_gt_radius (pygame.tests.draw_test.DrawCircleTest.test_circle__args_with_width_gt_radius)
Ensures draw circle accepts the args with width > radius. ... ok
test_circle__args_without_width (pygame.tests.draw_test.DrawCircleTest.test_circle__args_without_width)
Ensures draw circle accepts the args without a width and ... ok
test_circle__bounding_rect (pygame.tests.draw_test.DrawCircleTest.test_circle__bounding_rect)
Ensures draw circle returns the correct bounding rect. ... ok
test_circle__diameter (pygame.tests.draw_test.DrawCircleTest.test_circle__diameter)
Ensures draw circle is twice size of radius high and wide. ... ok
test_circle__floats (pygame.tests.draw_test.DrawCircleTest.test_circle__floats)
Ensure that floats are accepted. ... ok
test_circle__invalid_color_formats (pygame.tests.draw_test.DrawCircleTest.test_circle__invalid_color_formats)
Ensures draw circle handles invalid color formats correctly. ... ok
test_circle__kwarg_invalid_name (pygame.tests.draw_test.DrawCircleTest.test_circle__kwarg_invalid_name)
Ensures draw circle detects invalid kwarg names. ... ok
test_circle__kwarg_invalid_types (pygame.tests.draw_test.DrawCircleTest.test_circle__kwarg_invalid_types)
Ensures draw circle detects invalid kwarg types. ... ok
test_circle__kwargs (pygame.tests.draw_test.DrawCircleTest.test_circle__kwargs)
Ensures draw circle accepts the correct kwargs ... ok
test_circle__kwargs_missing (pygame.tests.draw_test.DrawCircleTest.test_circle__kwargs_missing)
Ensures draw circle detects any missing required kwargs. ... ok
test_circle__kwargs_order_independent (pygame.tests.draw_test.DrawCircleTest.test_circle__kwargs_order_independent)
Ensures draw circle's kwargs are not order dependent. ... ok
test_circle__surface_clip (pygame.tests.draw_test.DrawCircleTest.test_circle__surface_clip)
Ensures draw circle respects a surface's clip area. ... ok
test_circle__valid_center_formats (pygame.tests.draw_test.DrawCircleTest.test_circle__valid_center_formats)
Ensures draw circle accepts different center formats. ... ok
test_circle__valid_color_formats (pygame.tests.draw_test.DrawCircleTest.test_circle__valid_color_formats)
Ensures draw circle accepts different color formats. ... ok
test_circle__valid_radius_values (pygame.tests.draw_test.DrawCircleTest.test_circle__valid_radius_values)
Ensures draw circle accepts different radius values. ... ok
test_circle__valid_width_values (pygame.tests.draw_test.DrawCircleTest.test_circle__valid_width_values)
Ensures draw circle accepts different width values. ... ok
test_circle_negative_radius (pygame.tests.draw_test.DrawCircleTest.test_circle_negative_radius)
Ensures negative radius circles return zero sized bounding rect. ... ok
test_circle_shape (pygame.tests.draw_test.DrawCircleTest.test_circle_shape)
Ensures there are no holes in the circle, and no overdrawing. ... ok
test_circle_zero_radius (pygame.tests.draw_test.DrawCircleTest.test_circle_zero_radius)
Ensures zero radius circles does not draw a center pixel. ... ok
test_x_bounds (pygame.tests.draw_test.DrawCircleTest.test_x_bounds)
ensures a circle is drawn properly when there is a negative x, or a big x. ... ok
test_ellipse (pygame.tests.draw_test.DrawEllipseTest.test_ellipse)
Tests ellipses of differing sizes on surfaces of differing sizes. ... ok
test_ellipse__1_pixel_height (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__1_pixel_height)
Ensures an ellipse with a height of 1 is drawn correctly. ... ok
test_ellipse__1_pixel_height_spanning_surface (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__1_pixel_height_spanning_surface)
Ensures an ellipse with a height of 1 is drawn correctly ... ok
test_ellipse__1_pixel_width (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__1_pixel_width)
Ensures an ellipse with a width of 1 is drawn correctly. ... ok
test_ellipse__1_pixel_width_and_height (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__1_pixel_width_and_height)
Ensures an ellipse with a width and height of 1 is drawn correctly. ... ok
test_ellipse__1_pixel_width_spanning_surface (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__1_pixel_width_spanning_surface)
Ensures an ellipse with a width of 1 is drawn correctly ... ok
test_ellipse__arg_invalid_types (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__arg_invalid_types)
Ensures draw ellipse detects invalid arg types. ... ok
test_ellipse__args (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__args)
Ensures draw ellipse accepts the correct args. ... ok
test_ellipse__args_and_kwargs (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__args_and_kwargs)
Ensures draw ellipse accepts a combination of args/kwargs ... ok
test_ellipse__args_missing (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__args_missing)
Ensures draw ellipse detects any missing required args. ... ok
test_ellipse__args_with_negative_width (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__args_with_negative_width)
Ensures draw ellipse accepts the args with negative width. ... ok
test_ellipse__args_with_width_gt_radius (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__args_with_width_gt_radius)
Ensures draw ellipse accepts the args with ... ok
test_ellipse__args_without_width (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__args_without_width)
Ensures draw ellipse accepts the args without a width. ... ok
test_ellipse__big_ellipse (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__big_ellipse)
Test for big ellipse that could overflow in algorithm ... ok
test_ellipse__bounding_rect (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__bounding_rect)
Ensures draw ellipse returns the correct bounding rect. ... ok
test_ellipse__invalid_color_formats (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__invalid_color_formats)
Ensures draw ellipse handles invalid color formats correctly. ... ok
test_ellipse__kwarg_invalid_name (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__kwarg_invalid_name)
Ensures draw ellipse detects invalid kwarg names. ... ok
test_ellipse__kwarg_invalid_types (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__kwarg_invalid_types)
Ensures draw ellipse detects invalid kwarg types. ... ok
test_ellipse__kwargs (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__kwargs)
Ensures draw ellipse accepts the correct kwargs ... ok
test_ellipse__kwargs_missing (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__kwargs_missing)
Ensures draw ellipse detects any missing required kwargs. ... ok
test_ellipse__kwargs_order_independent (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__kwargs_order_independent)
Ensures draw ellipse's kwargs are not order dependent. ... ok
test_ellipse__max_width (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__max_width)
Ensures an ellipse with max width (and greater) is drawn correctly. ... ok
test_ellipse__no_holes (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__no_holes) ... ok
test_ellipse__surface_clip (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__surface_clip)
Ensures draw ellipse respects a surface's clip area. ... ok
test_ellipse__thick_line (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__thick_line)
Ensures a thick lined ellipse is drawn correctly. ... ok
test_ellipse__valid_color_formats (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__valid_color_formats)
Ensures draw ellipse accepts different color formats. ... ok
test_ellipse__valid_rect_formats (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__valid_rect_formats)
Ensures draw ellipse accepts different rect formats. ... ok
test_ellipse__valid_width_values (pygame.tests.draw_test.DrawEllipseTest.test_ellipse__valid_width_values)
Ensures draw ellipse accepts different width values. ... ok
test_line (pygame.tests.draw_test.DrawLineTest.test_line) ... ok
test_line__arg_invalid_types (pygame.tests.draw_test.DrawLineTest.test_line__arg_invalid_types)
Ensures draw line detects invalid arg types. ... ok
test_line__args (pygame.tests.draw_test.DrawLineTest.test_line__args)
Ensures draw line accepts the correct args. ... ok
test_line__args_and_kwargs (pygame.tests.draw_test.DrawLineTest.test_line__args_and_kwargs)
Ensures draw line accepts a combination of args/kwargs ... ok
test_line__args_missing (pygame.tests.draw_test.DrawLineTest.test_line__args_missing)
Ensures draw line detects any missing required args. ... ok
test_line__args_without_width (pygame.tests.draw_test.DrawLineTest.test_line__args_without_width)
Ensures draw line accepts the args without a width. ... ok
test_line__bounding_rect (pygame.tests.draw_test.DrawLineTest.test_line__bounding_rect)
Ensures draw line returns the correct bounding rect. ... ok
test_line__color (pygame.tests.draw_test.DrawLineTest.test_line__color)
Tests if the line drawn is the correct color. ... ok
test_line__color_with_thickness (pygame.tests.draw_test.DrawLineTest.test_line__color_with_thickness)
Ensures a thick line is drawn using the correct color. ... ok
test_line__gaps (pygame.tests.draw_test.DrawLineTest.test_line__gaps)
Tests if the line drawn contains any gaps. ... ok
test_line__gaps_with_thickness (pygame.tests.draw_test.DrawLineTest.test_line__gaps_with_thickness)
Ensures a thick line is drawn without any gaps. ... ok
test_line__invalid_color_formats (pygame.tests.draw_test.DrawLineTest.test_line__invalid_color_formats)
Ensures draw line handles invalid color formats correctly. ... ok
test_line__invalid_end_pos_formats (pygame.tests.draw_test.DrawLineTest.test_line__invalid_end_pos_formats)
Ensures draw line handles invalid end_pos formats correctly. ... ok
test_line__invalid_start_pos_formats (pygame.tests.draw_test.DrawLineTest.test_line__invalid_start_pos_formats)
Ensures draw line handles invalid start_pos formats correctly. ... ok
test_line__kwarg_invalid_name (pygame.tests.draw_test.DrawLineTest.test_line__kwarg_invalid_name)
Ensures draw line detects invalid kwarg names. ... ok
test_line__kwarg_invalid_types (pygame.tests.draw_test.DrawLineTest.test_line__kwarg_invalid_types)
Ensures draw line detects invalid kwarg types. ... ok
test_line__kwargs (pygame.tests.draw_test.DrawLineTest.test_line__kwargs)
Ensures draw line accepts the correct kwargs ... ok
test_line__kwargs_missing (pygame.tests.draw_test.DrawLineTest.test_line__kwargs_missing)
Ensures draw line detects any missing required kwargs. ... ok
test_line__kwargs_order_independent (pygame.tests.draw_test.DrawLineTest.test_line__kwargs_order_independent)
Ensures draw line's kwargs are not order dependent. ... ok
test_line__surface_clip (pygame.tests.draw_test.DrawLineTest.test_line__surface_clip)
Ensures draw line respects a surface's clip area. ... ok
test_line__valid_color_formats (pygame.tests.draw_test.DrawLineTest.test_line__valid_color_formats)
Ensures draw line accepts different color formats. ... ok
test_line__valid_end_pos_formats (pygame.tests.draw_test.DrawLineTest.test_line__valid_end_pos_formats)
Ensures draw line accepts different end_pos formats. ... ok
test_line__valid_start_pos_formats (pygame.tests.draw_test.DrawLineTest.test_line__valid_start_pos_formats)
Ensures draw line accepts different start_pos formats. ... ok
test_line__valid_width_values (pygame.tests.draw_test.DrawLineTest.test_line__valid_width_values)
Ensures draw line accepts different width values. ... ok
test_line_endianness (pygame.tests.draw_test.DrawLineTest.test_line_endianness)
test color component order ... ok
test_line_for_gaps (pygame.tests.draw_test.DrawLineTest.test_line_for_gaps) ... ok
test_lines__arg_invalid_types (pygame.tests.draw_test.DrawLinesTest.test_lines__arg_invalid_types)
Ensures draw lines detects invalid arg types. ... ok
test_lines__args (pygame.tests.draw_test.DrawLinesTest.test_lines__args)
Ensures draw lines accepts the correct args. ... ok
test_lines__args_and_kwargs (pygame.tests.draw_test.DrawLinesTest.test_lines__args_and_kwargs)
Ensures draw lines accepts a combination of args/kwargs ... ok
test_lines__args_missing (pygame.tests.draw_test.DrawLinesTest.test_lines__args_missing)
Ensures draw lines detects any missing required args. ... ok
test_lines__args_without_width (pygame.tests.draw_test.DrawLinesTest.test_lines__args_without_width)
Ensures draw lines accepts the args without a width. ... ok
test_lines__bounding_rect (pygame.tests.draw_test.DrawLinesTest.test_lines__bounding_rect)
Ensures draw lines returns the correct bounding rect. ... ok
test_lines__color (pygame.tests.draw_test.DrawLinesTest.test_lines__color)
Tests if the lines drawn are the correct color. ... ok
test_lines__color_with_thickness (pygame.tests.draw_test.DrawLinesTest.test_lines__color_with_thickness)
Ensures thick lines are drawn using the correct color. ... ok
test_lines__gaps (pygame.tests.draw_test.DrawLinesTest.test_lines__gaps)
Tests if the lines drawn contain any gaps. ... ok
test_lines__gaps_with_thickness (pygame.tests.draw_test.DrawLinesTest.test_lines__gaps_with_thickness)
Ensures thick lines are drawn without any gaps. ... ok
test_lines__invalid_color_formats (pygame.tests.draw_test.DrawLinesTest.test_lines__invalid_color_formats)
Ensures draw lines handles invalid color formats correctly. ... ok
test_lines__invalid_points_formats (pygame.tests.draw_test.DrawLinesTest.test_lines__invalid_points_formats)
Ensures draw lines handles invalid points formats correctly. ... ok
test_lines__invalid_points_values (pygame.tests.draw_test.DrawLinesTest.test_lines__invalid_points_values)
Ensures draw lines handles invalid points values correctly. ... ok
test_lines__kwarg_invalid_name (pygame.tests.draw_test.DrawLinesTest.test_lines__kwarg_invalid_name)
Ensures draw lines detects invalid kwarg names. ... ok
test_lines__kwarg_invalid_types (pygame.tests.draw_test.DrawLinesTest.test_lines__kwarg_invalid_types)
Ensures draw lines detects invalid kwarg types. ... ok
test_lines__kwargs (pygame.tests.draw_test.DrawLinesTest.test_lines__kwargs)
Ensures draw lines accepts the correct kwargs ... ok
test_lines__kwargs_missing (pygame.tests.draw_test.DrawLinesTest.test_lines__kwargs_missing)
Ensures draw lines detects any missing required kwargs. ... ok
test_lines__kwargs_order_independent (pygame.tests.draw_test.DrawLinesTest.test_lines__kwargs_order_independent)
Ensures draw lines's kwargs are not order dependent. ... ok
test_lines__surface_clip (pygame.tests.draw_test.DrawLinesTest.test_lines__surface_clip)
Ensures draw lines respects a surface's clip area. ... ok
test_lines__valid_closed_values (pygame.tests.draw_test.DrawLinesTest.test_lines__valid_closed_values)
Ensures draw lines accepts different closed values. ... ok
test_lines__valid_color_formats (pygame.tests.draw_test.DrawLinesTest.test_lines__valid_color_formats)
Ensures draw lines accepts different color formats. ... ok
test_lines__valid_points_format (pygame.tests.draw_test.DrawLinesTest.test_lines__valid_points_format)
Ensures draw lines accepts different points formats. ... ok
test_lines__valid_width_values (pygame.tests.draw_test.DrawLinesTest.test_lines__valid_width_values)
Ensures draw lines accepts different width values. ... ok
test_color_validation (pygame.tests.draw_test.DrawModuleTest.test_color_validation) ... ok
test_path_data_validation (pygame.tests.draw_test.DrawModuleTest.test_path_data_validation)
Test validation of multi-point drawing methods. ... ok
test_1_pixel_high_or_wide_shapes (pygame.tests.draw_test.DrawPolygonTest.test_1_pixel_high_or_wide_shapes) ... ok
test_draw_diamond (pygame.tests.draw_test.DrawPolygonTest.test_draw_diamond) ... ok
test_draw_square (pygame.tests.draw_test.DrawPolygonTest.test_draw_square) ... ok
test_draw_symetric_cross (pygame.tests.draw_test.DrawPolygonTest.test_draw_symetric_cross)
non-regression on issue #234 : x and y where handled inconsistently. ... ok
test_illumine_shape (pygame.tests.draw_test.DrawPolygonTest.test_illumine_shape)
non-regression on issue #313 ... ok
test_invalid_points (pygame.tests.draw_test.DrawPolygonTest.test_invalid_points) ... ok
test_polygon__arg_invalid_types (pygame.tests.draw_test.DrawPolygonTest.test_polygon__arg_invalid_types)
Ensures draw polygon detects invalid arg types. ... ok
test_polygon__args (pygame.tests.draw_test.DrawPolygonTest.test_polygon__args)
Ensures draw polygon accepts the correct args. ... ok
test_polygon__args_and_kwargs (pygame.tests.draw_test.DrawPolygonTest.test_polygon__args_and_kwargs)
Ensures draw polygon accepts a combination of args/kwargs ... ok
test_polygon__args_missing (pygame.tests.draw_test.DrawPolygonTest.test_polygon__args_missing)
Ensures draw polygon detects any missing required args. ... ok
test_polygon__args_without_width (pygame.tests.draw_test.DrawPolygonTest.test_polygon__args_without_width)
Ensures draw polygon accepts the args without a width. ... ok
test_polygon__bounding_rect (pygame.tests.draw_test.DrawPolygonTest.test_polygon__bounding_rect)
Ensures draw polygon returns the correct bounding rect. ... ok
test_polygon__invalid_color_formats (pygame.tests.draw_test.DrawPolygonTest.test_polygon__invalid_color_formats)
Ensures draw polygon handles invalid color formats correctly. ... ok
test_polygon__invalid_points_formats (pygame.tests.draw_test.DrawPolygonTest.test_polygon__invalid_points_formats)
Ensures draw polygon handles invalid points formats correctly. ... ok
test_polygon__invalid_points_values (pygame.tests.draw_test.DrawPolygonTest.test_polygon__invalid_points_values)
Ensures draw polygon handles invalid points values correctly. ... ok
test_polygon__kwarg_invalid_name (pygame.tests.draw_test.DrawPolygonTest.test_polygon__kwarg_invalid_name)
Ensures draw polygon detects invalid kwarg names. ... ok
test_polygon__kwarg_invalid_types (pygame.tests.draw_test.DrawPolygonTest.test_polygon__kwarg_invalid_types)
Ensures draw polygon detects invalid kwarg types. ... ok
test_polygon__kwargs (pygame.tests.draw_test.DrawPolygonTest.test_polygon__kwargs)
Ensures draw polygon accepts the correct kwargs ... ok
test_polygon__kwargs_missing (pygame.tests.draw_test.DrawPolygonTest.test_polygon__kwargs_missing)
Ensures draw polygon detects any missing required kwargs. ... ok
test_polygon__kwargs_order_independent (pygame.tests.draw_test.DrawPolygonTest.test_polygon__kwargs_order_independent)
Ensures draw polygon's kwargs are not order dependent. ... ok
test_polygon__surface_clip (pygame.tests.draw_test.DrawPolygonTest.test_polygon__surface_clip)
Ensures draw polygon respects a surface's clip area. ... ok
test_polygon__valid_color_formats (pygame.tests.draw_test.DrawPolygonTest.test_polygon__valid_color_formats)
Ensures draw polygon accepts different color formats. ... ok
test_polygon__valid_points_format (pygame.tests.draw_test.DrawPolygonTest.test_polygon__valid_points_format)
Ensures draw polygon accepts different points formats. ... ok
test_polygon__valid_width_values (pygame.tests.draw_test.DrawPolygonTest.test_polygon__valid_width_values)
Ensures draw polygon accepts different width values. ... ok
test_rect__arg_invalid_types (pygame.tests.draw_test.DrawRectTest.test_rect__arg_invalid_types)
Ensures draw rect detects invalid arg types. ... ok
test_rect__args (pygame.tests.draw_test.DrawRectTest.test_rect__args)
Ensures draw rect accepts the correct args. ... ok
test_rect__args_and_kwargs (pygame.tests.draw_test.DrawRectTest.test_rect__args_and_kwargs)
Ensures draw rect accepts a combination of args/kwargs ... ok
test_rect__args_missing (pygame.tests.draw_test.DrawRectTest.test_rect__args_missing)
Ensures draw rect detects any missing required args. ... ok
test_rect__args_without_width (pygame.tests.draw_test.DrawRectTest.test_rect__args_without_width)
Ensures draw rect accepts the args without a width and borders. ... ok
test_rect__bounding_rect (pygame.tests.draw_test.DrawRectTest.test_rect__bounding_rect)
Ensures draw rect returns the correct bounding rect. ... ok
test_rect__draw_line_width (pygame.tests.draw_test.DrawRectTest.test_rect__draw_line_width) ... ok
test_rect__fill (pygame.tests.draw_test.DrawRectTest.test_rect__fill) ... ok
test_rect__invalid_color_formats (pygame.tests.draw_test.DrawRectTest.test_rect__invalid_color_formats)
Ensures draw rect handles invalid color formats correctly. ... ok
test_rect__invalid_rect_formats (pygame.tests.draw_test.DrawRectTest.test_rect__invalid_rect_formats)
Ensures draw rect handles invalid rect formats correctly. ... ok
test_rect__kwarg_invalid_name (pygame.tests.draw_test.DrawRectTest.test_rect__kwarg_invalid_name)
Ensures draw rect detects invalid kwarg names. ... ok
test_rect__kwarg_invalid_types (pygame.tests.draw_test.DrawRectTest.test_rect__kwarg_invalid_types)
Ensures draw rect detects invalid kwarg types. ... ok
test_rect__kwargs (pygame.tests.draw_test.DrawRectTest.test_rect__kwargs)
Ensures draw rect accepts the correct kwargs ... ok
test_rect__kwargs_missing (pygame.tests.draw_test.DrawRectTest.test_rect__kwargs_missing)
Ensures draw rect detects any missing required kwargs. ... ok
test_rect__kwargs_order_independent (pygame.tests.draw_test.DrawRectTest.test_rect__kwargs_order_independent)
Ensures draw rect's kwargs are not order dependent. ... ok
test_rect__one_pixel_lines (pygame.tests.draw_test.DrawRectTest.test_rect__one_pixel_lines) ... ok
test_rect__surface_clip (pygame.tests.draw_test.DrawRectTest.test_rect__surface_clip)
Ensures draw rect respects a surface's clip area. ... ok
test_rect__valid_color_formats (pygame.tests.draw_test.DrawRectTest.test_rect__valid_color_formats)
Ensures draw rect accepts different color formats. ... ok
test_rect__valid_rect_formats (pygame.tests.draw_test.DrawRectTest.test_rect__valid_rect_formats)
Ensures draw rect accepts different rect formats. ... ok
test_rect__valid_width_values (pygame.tests.draw_test.DrawRectTest.test_rect__valid_width_values)
Ensures draw rect accepts different width values. ... ok
----------------------------------------------------------------------
Ran 216 tests in 1.385s
OK
loading pygame.tests.event_test
test_custom_type (pygame.tests.event_test.EventCustomTypeTest.test_custom_type) ... ok
test_custom_type__end_boundary (pygame.tests.event_test.EventCustomTypeTest.test_custom_type__end_boundary)
Ensure custom_type() raises error when no more custom types. ... ok
test_custom_type__reset (pygame.tests.event_test.EventCustomTypeTest.test_custom_type__reset)
Ensure custom events get 'deregistered' by quit(). ... ok
test_clear (pygame.tests.event_test.EventModuleArgsTest.test_clear) ... ok
test_get (pygame.tests.event_test.EventModuleArgsTest.test_get) ... ok
test_peek (pygame.tests.event_test.EventModuleArgsTest.test_peek) ... ok
test_clear (pygame.tests.event_test.EventModuleTest.test_clear)
Ensure clear() removes all the events on the queue. ... ok
test_clear__empty_queue (pygame.tests.event_test.EventModuleTest.test_clear__empty_queue)
Ensure clear() works correctly on an empty queue. ... ok
test_clear__event_sequence (pygame.tests.event_test.EventModuleTest.test_clear__event_sequence)
Ensure a sequence of event types can be cleared from the queue. ... ok
test_event_attribute (pygame.tests.event_test.EventModuleTest.test_event_attribute) ... ok
test_event_name (pygame.tests.event_test.EventModuleTest.test_event_name)
Ensure event_name() returns the correct event name. ... ok
test_event_name__kwargs (pygame.tests.event_test.EventModuleTest.test_event_name__kwargs)
Ensure event_name() returns the correct event name when kwargs used. ... ok
test_event_name__userevent_boundary (pygame.tests.event_test.EventModuleTest.test_event_name__userevent_boundary)
Ensures event_name() does not return 'UserEvent' for events ... ok
test_event_name__userevent_range (pygame.tests.event_test.EventModuleTest.test_event_name__userevent_range)
Ensures event_name() returns the correct name for user events. ... ok
test_event_numevents (pygame.tests.event_test.EventModuleTest.test_event_numevents)
Ensures NUMEVENTS does not exceed the maximum SDL number of events. ... ok
test_get (pygame.tests.event_test.EventModuleTest.test_get)
Ensure get() retrieves all the events on the queue. ... ok
test_get__empty_queue (pygame.tests.event_test.EventModuleTest.test_get__empty_queue)
Ensure get() works correctly on an empty queue. ... ok
test_get__event_sequence (pygame.tests.event_test.EventModuleTest.test_get__event_sequence)
Ensure get() can handle a sequence of event types. ... ok
test_get_blocked (pygame.tests.event_test.EventModuleTest.test_get_blocked)
Ensure an event's blocked state can be retrieved. ... ok
test_get_blocked__event_sequence (pygame.tests.event_test.EventModuleTest.test_get_blocked__event_sequence)
Ensure get_blocked() can handle a sequence of event types. ... ok
test_get_clears_queue (pygame.tests.event_test.EventModuleTest.test_get_clears_queue)
Ensure get() clears the event queue after a call ... ok
test_get_exclude (pygame.tests.event_test.EventModuleTest.test_get_exclude) ... ok
test_get_exclude_throw (pygame.tests.event_test.EventModuleTest.test_get_exclude_throw) ... ok
test_get_grab (pygame.tests.event_test.EventModuleTest.test_get_grab)
Ensure get_grab() works as expected ... skipped 'flaky test, and broken on 2.0.18 windows'
test_get_type (pygame.tests.event_test.EventModuleTest.test_get_type) ... ok
test_peek (pygame.tests.event_test.EventModuleTest.test_peek)
Ensure queued events can be peeked at. ... ok
test_peek__empty_queue (pygame.tests.event_test.EventModuleTest.test_peek__empty_queue)
Ensure peek() works correctly on an empty queue. ... ok
test_peek__event_sequence (pygame.tests.event_test.EventModuleTest.test_peek__event_sequence)
Ensure peek() can handle a sequence of event types. ... ok
test_poll (pygame.tests.event_test.EventModuleTest.test_poll)
Ensure poll() works as expected ... ok
test_post__and_poll (pygame.tests.event_test.EventModuleTest.test_post__and_poll)
Ensure events can be posted to the queue. ... ok
test_post_and_get_keydown (pygame.tests.event_test.EventModuleTest.test_post_and_get_keydown)
Ensure keydown events can be posted to the queue. ... ok
test_post_blocked (pygame.tests.event_test.EventModuleTest.test_post_blocked)
Test blocked events are not posted. Also test whether post() ... ok
test_post_large_user_event (pygame.tests.event_test.EventModuleTest.test_post_large_user_event) ... ok
test_pump (pygame.tests.event_test.EventModuleTest.test_pump)
Ensure pump() functions properly. ... ok
test_set_allowed (pygame.tests.event_test.EventModuleTest.test_set_allowed)
Ensure a blocked event type can be unblocked/allowed. ... ok
test_set_allowed__event_sequence (pygame.tests.event_test.EventModuleTest.test_set_allowed__event_sequence)
Ensure a sequence of blocked event types can be unblocked/allowed. ... ok
test_set_allowed_all (pygame.tests.event_test.EventModuleTest.test_set_allowed_all)
Ensure all events can be unblocked/allowed at once. ... ok
test_set_blocked (pygame.tests.event_test.EventModuleTest.test_set_blocked)
Ensure events can be blocked from the queue. ... ok
test_set_blocked__event_sequence (pygame.tests.event_test.EventModuleTest.test_set_blocked__event_sequence)
Ensure a sequence of event types can be blocked. ... ok
test_set_blocked_all (pygame.tests.event_test.EventModuleTest.test_set_blocked_all)
Ensure all events can be unblocked at once. ... ok
test_set_grab__and_get_symmetric (pygame.tests.event_test.EventModuleTest.test_set_grab__and_get_symmetric)
Ensure event grabbing can be enabled and disabled. ... skipped 'flaky test, and broken on 2.0.18 windows'
test_set_keyboard_grab_and_get_keyboard_grab (pygame.tests.event_test.EventModuleTest.test_set_keyboard_grab_and_get_keyboard_grab)
Ensure set_keyboard_grab() and get_keyboard_grab() work as expected ... skipped 'requires the SDL_VIDEODRIVER to be a non dummy value'
test_Event (pygame.tests.event_test.EventTypeTest.test_Event)
Ensure an Event object can be created. ... ok
test_as_str (pygame.tests.event_test.EventTypeTest.test_as_str) ... ok
test_event_bool (pygame.tests.event_test.EventTypeTest.test_event_bool) ... ok
test_event_equality (pygame.tests.event_test.EventTypeTest.test_event_equality)
Ensure that events can be compared correctly. ... ok
----------------------------------------------------------------------
Ran 46 tests in 0.110s
OK (skipped=3)
loading pygame.tests.font_test
test_SysFont (pygame.tests.font_test.FontModuleTest.test_SysFont) ... ok
test_get_default_font (pygame.tests.font_test.FontModuleTest.test_get_default_font) ... ok
test_get_fonts (pygame.tests.font_test.FontModuleTest.test_get_fonts) ... ok
test_get_fonts_returns_something (pygame.tests.font_test.FontModuleTest.test_get_fonts_returns_something) ... ok
test_get_init (pygame.tests.font_test.FontModuleTest.test_get_init) ... ok
test_get_sdl_ttf_version (pygame.tests.font_test.FontModuleTest.test_get_sdl_ttf_version) ... ok
test_init (pygame.tests.font_test.FontModuleTest.test_init) ... ok
test_issue_742 (pygame.tests.font_test.FontModuleTest.test_issue_742)
that the font background does not crash. ... ok
test_issue_font_alphablit (pygame.tests.font_test.FontModuleTest.test_issue_font_alphablit)
Check that blitting anti-aliased text doesn't ... ok
test_match_font_all_exist (pygame.tests.font_test.FontModuleTest.test_match_font_all_exist) ... ok
test_match_font_bold (pygame.tests.font_test.FontModuleTest.test_match_font_bold) ... ok
test_match_font_italic (pygame.tests.font_test.FontModuleTest.test_match_font_italic) ... ok
test_match_font_name (pygame.tests.font_test.FontModuleTest.test_match_font_name)
That match_font accepts names of various types ... ok
test_not_match_font_name (pygame.tests.font_test.FontModuleTest.test_not_match_font_name)
match_font return None when names of various types do not exist ... ok
test_quit (pygame.tests.font_test.FontModuleTest.test_quit) ... ok
test_segfault_after_reinit (pygame.tests.font_test.FontModuleTest.test_segfault_after_reinit)
Reinitialization of font module should not cause ... ok
test_render_args (pygame.tests.font_test.FontTest.test_render_args) ... ok
test_bold_attr (pygame.tests.font_test.FontTypeTest.test_bold_attr) ... ok
test_default_parameters (pygame.tests.font_test.FontTypeTest.test_default_parameters) ... ok
test_font_file_not_found (pygame.tests.font_test.FontTypeTest.test_font_file_not_found) ... ok
test_font_set_script (pygame.tests.font_test.FontTypeTest.test_font_set_script) ... ok
test_get_ascent (pygame.tests.font_test.FontTypeTest.test_get_ascent) ... ok
test_get_descent (pygame.tests.font_test.FontTypeTest.test_get_descent) ... ok
test_get_height (pygame.tests.font_test.FontTypeTest.test_get_height) ... ok
test_get_linesize (pygame.tests.font_test.FontTypeTest.test_get_linesize) ... ok
test_issue_3144 (pygame.tests.font_test.FontTypeTest.test_issue_3144) ... ok
test_load_default_font_filename (pygame.tests.font_test.FontTypeTest.test_load_default_font_filename) ... ok
test_load_default_font_filename_default (pygame.tests.font_test.FontTypeTest.test_load_default_font_filename_default) ... ok
test_load_from_file (pygame.tests.font_test.FontTypeTest.test_load_from_file) ... ok
test_load_from_file_bytes (pygame.tests.font_test.FontTypeTest.test_load_from_file_bytes) ... ok
test_load_from_file_default (pygame.tests.font_test.FontTypeTest.test_load_from_file_default) ... ok
test_load_from_file_obj (pygame.tests.font_test.FontTypeTest.test_load_from_file_obj) ... ok
test_load_from_file_obj_default (pygame.tests.font_test.FontTypeTest.test_load_from_file_obj_default) ... ok
test_load_from_file_unicode_0 (pygame.tests.font_test.FontTypeTest.test_load_from_file_unicode_0)
ASCII string as a unicode object ... ok
test_load_from_file_unicode_1 (pygame.tests.font_test.FontTypeTest.test_load_from_file_unicode_1) ... ok
test_load_from_pathlib (pygame.tests.font_test.FontTypeTest.test_load_from_pathlib) ... ok
test_load_from_pathlib_default (pygame.tests.font_test.FontTypeTest.test_load_from_pathlib_default) ... ok
test_metrics (pygame.tests.font_test.FontTypeTest.test_metrics) ... ok
test_render (pygame.tests.font_test.FontTypeTest.test_render) ... ok
test_render_ucs2_ucs4 (pygame.tests.font_test.FontTypeTest.test_render_ucs2_ucs4)
that it renders without raising if there is a new enough SDL_ttf. ... ok
test_set_bold (pygame.tests.font_test.FontTypeTest.test_set_bold) ... ok
test_set_italic (pygame.tests.font_test.FontTypeTest.test_set_italic) ... ok
test_set_italic_property (pygame.tests.font_test.FontTypeTest.test_set_italic_property) ... ok
test_set_strikethrough (pygame.tests.font_test.FontTypeTest.test_set_strikethrough) ... ok
test_set_strikethrough_property (pygame.tests.font_test.FontTypeTest.test_set_strikethrough_property) ... ok
test_set_underline (pygame.tests.font_test.FontTypeTest.test_set_underline) ... ok
test_set_underline_property (pygame.tests.font_test.FontTypeTest.test_set_underline_property) ... ok
test_size (pygame.tests.font_test.FontTypeTest.test_size) ... ok
----------------------------------------------------------------------
Ran 48 tests in 0.019s
OK
loading pygame.tests.freetype_test
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
loading pygame.tests.ftfont_test
test_SysFont (pygame.tests.ftfont_test.FtFontModuleTest.test_SysFont) ... ok
test_get_default_font (pygame.tests.ftfont_test.FtFontModuleTest.test_get_default_font) ... ok
test_get_fonts (pygame.tests.ftfont_test.FtFontModuleTest.test_get_fonts) ... ok
test_get_fonts_returns_something (pygame.tests.ftfont_test.FtFontModuleTest.test_get_fonts_returns_something) ... ok
test_get_init (pygame.tests.ftfont_test.FtFontModuleTest.test_get_init) ... ok
test_get_sdl_ttf_version (pygame.tests.ftfont_test.FtFontModuleTest.test_get_sdl_ttf_version) ... ok
test_init (pygame.tests.ftfont_test.FtFontModuleTest.test_init) ... ok
test_issue_742 (pygame.tests.ftfont_test.FtFontModuleTest.test_issue_742)
that the font background does not crash. ... ok
test_issue_font_alphablit (pygame.tests.ftfont_test.FtFontModuleTest.test_issue_font_alphablit)
Check that blitting anti-aliased text doesn't ... ok
test_match_font_all_exist (pygame.tests.ftfont_test.FtFontModuleTest.test_match_font_all_exist) ... ok
test_match_font_bold (pygame.tests.ftfont_test.FtFontModuleTest.test_match_font_bold) ... ok
test_match_font_italic (pygame.tests.ftfont_test.FtFontModuleTest.test_match_font_italic) ... ok
test_match_font_name (pygame.tests.ftfont_test.FtFontModuleTest.test_match_font_name)
That match_font accepts names of various types ... ok
test_not_match_font_name (pygame.tests.ftfont_test.FtFontModuleTest.test_not_match_font_name)
match_font return None when names of various types do not exist ... ok
test_quit (pygame.tests.ftfont_test.FtFontModuleTest.test_quit) ... ok
test_segfault_after_reinit (pygame.tests.ftfont_test.FtFontModuleTest.test_segfault_after_reinit)
Reinitialization of font module should not cause ... ok
test_render_args (pygame.tests.ftfont_test.FtFontTest.test_render_args) ... ok
test_bold_attr (pygame.tests.ftfont_test.FtFontTypeTest.test_bold_attr) ... ok
test_default_parameters (pygame.tests.ftfont_test.FtFontTypeTest.test_default_parameters) ... ok
test_font_file_not_found (pygame.tests.ftfont_test.FtFontTypeTest.test_font_file_not_found) ... ok
test_font_set_script (pygame.tests.ftfont_test.FtFontTypeTest.test_font_set_script) ... ok
test_get_ascent (pygame.tests.ftfont_test.FtFontTypeTest.test_get_ascent) ... ok
test_get_descent (pygame.tests.ftfont_test.FtFontTypeTest.test_get_descent) ... ok
test_get_height (pygame.tests.ftfont_test.FtFontTypeTest.test_get_height) ... ok
test_get_linesize (pygame.tests.ftfont_test.FtFontTypeTest.test_get_linesize) ... ok
test_issue_3144 (pygame.tests.ftfont_test.FtFontTypeTest.test_issue_3144) ... ok
test_load_default_font_filename (pygame.tests.ftfont_test.FtFontTypeTest.test_load_default_font_filename) ... ok
test_load_default_font_filename_default (pygame.tests.ftfont_test.FtFontTypeTest.test_load_default_font_filename_default) ... ok
test_load_from_file (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_file) ... ok
test_load_from_file_bytes (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_file_bytes) ... ok
test_load_from_file_default (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_file_default) ... ok
test_load_from_file_obj (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_file_obj) ... ok
test_load_from_file_obj_default (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_file_obj_default) ... ok
test_load_from_file_unicode_0 (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_file_unicode_0)
ASCII string as a unicode object ... ok
test_load_from_file_unicode_1 (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_file_unicode_1) ... ok
test_load_from_pathlib (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_pathlib) ... ok
test_load_from_pathlib_default (pygame.tests.ftfont_test.FtFontTypeTest.test_load_from_pathlib_default) ... ok
test_metrics (pygame.tests.ftfont_test.FtFontTypeTest.test_metrics) ... ok
test_render (pygame.tests.ftfont_test.FtFontTypeTest.test_render) ... ok
test_render_ucs2_ucs4 (pygame.tests.ftfont_test.FtFontTypeTest.test_render_ucs2_ucs4)
that it renders without raising if there is a new enough SDL_ttf. ... ok
test_set_bold (pygame.tests.ftfont_test.FtFontTypeTest.test_set_bold) ... ok
test_set_italic (pygame.tests.ftfont_test.FtFontTypeTest.test_set_italic) ... ok
test_set_italic_property (pygame.tests.ftfont_test.FtFontTypeTest.test_set_italic_property) ... ok
test_set_strikethrough (pygame.tests.ftfont_test.FtFontTypeTest.test_set_strikethrough) ... ok
test_set_strikethrough_property (pygame.tests.ftfont_test.FtFontTypeTest.test_set_strikethrough_property) ... ok
test_set_underline (pygame.tests.ftfont_test.FtFontTypeTest.test_set_underline) ... ok
test_set_underline_property (pygame.tests.ftfont_test.FtFontTypeTest.test_set_underline_property) ... ok
test_size (pygame.tests.ftfont_test.FtFontTypeTest.test_size) ... ok
----------------------------------------------------------------------
Ran 48 tests in 0.009s
OK
loading pygame.tests.gfxdraw_test
test_aacircle (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_aacircle)
aacircle(surface, x, y, r, color): return None ... ok
test_aaellipse (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_aaellipse)
aaellipse(surface, x, y, rx, ry, color): return None ... ok
test_aapolygon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_aapolygon)
aapolygon(surface, points, color): return None ... ok
test_aapolygon__with_horizontal_edge (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_aapolygon__with_horizontal_edge)
Ensure aapolygon draws horizontal edges correctly. ... ok
test_aatrigon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_aatrigon)
aatrigon(surface, x1, y1, x2, y2, x3, y3, color): return None ... ok
test_aatrigon__with_horizontal_edge (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_aatrigon__with_horizontal_edge)
Ensure aatrigon draws horizontal edges correctly. ... ok
test_arc (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_arc)
arc(surface, x, y, r, start, end, color): return None ... ok
test_bezier (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_bezier)
bezier(surface, points, steps, color): return None ... ok
test_box (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_box)
box(surface, rect, color): return None ... ok
test_circle (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_circle)
circle(surface, x, y, r, color): return None ... ok
test_ellipse (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_ellipse)
ellipse(surface, x, y, rx, ry, color): return None ... ok
test_filled_circle (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_filled_circle)
filled_circle(surface, x, y, r, color): return None ... ok
test_filled_ellipse (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_filled_ellipse)
filled_ellipse(surface, x, y, rx, ry, color): return None ... ok
test_filled_polygon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_filled_polygon)
filled_polygon(surface, points, color): return None ... ok
test_filled_trigon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_filled_trigon)
filled_trigon(surface, x1, y1, x2, y2, x3, y3, color): return None ... ok
test_gfxdraw__subclassed_surface (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_gfxdraw__subclassed_surface)
Ensure pygame.gfxdraw works on subclassed surfaces. ... ok
test_hline (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_hline)
hline(surface, x1, x2, y, color): return None ... ok
test_line (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_line)
line(surface, x1, y1, x2, y2, color): return None ... ok
test_pie (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_pie)
pie(surface, x, y, r, start, end, color): return None ... ok
test_pixel (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_pixel)
pixel(surface, x, y, color): return None ... ok
test_polygon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_polygon)
polygon(surface, points, color): return None ... ok
test_rectangle (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_rectangle)
rectangle(surface, rect, color): return None ... ok
test_textured_polygon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_textured_polygon)
textured_polygon(surface, points, texture, tx, ty): return None ... ok
test_trigon (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_trigon)
trigon(surface, x1, y1, x2, y2, x3, y3, color): return None ... ok
test_vline (pygame.tests.gfxdraw_test.GfxdrawDefaultTest.test_vline)
vline(surface, x, y1, y2, color): return None ... ok
----------------------------------------------------------------------
Ran 25 tests in 0.038s
OK
loading pygame.tests.image__save_gl_surface_test
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
loading pygame.tests.image_test
testLoadBytesIO (pygame.tests.image_test.ImageModuleTest.testLoadBytesIO)
to see if we can load images with BytesIO. ... ok
testLoadIcon (pygame.tests.image_test.ImageModuleTest.testLoadIcon)
see if we can load the pygame icon. ... ok
testLoadJPG (pygame.tests.image_test.ImageModuleTest.testLoadJPG)
to see if we can load a jpg. ... ok
testLoadPNG (pygame.tests.image_test.ImageModuleTest.testLoadPNG)
see if we can load a png with color values in the proper channels. ... ok
testSaveJPG (pygame.tests.image_test.ImageModuleTest.testSaveJPG)
JPG equivalent to issue #211 - color channel swapping ... ok
testSavePNG24 (pygame.tests.image_test.ImageModuleTest.testSavePNG24)
see if we can save a png with color values in the proper channels. ... ok
testSavePNG32 (pygame.tests.image_test.ImageModuleTest.testSavePNG32)
see if we can save a png with color values in the proper channels. ... ok
testSavePNG8 (pygame.tests.image_test.ImageModuleTest.testSavePNG8)
see if we can save an 8 bit png correctly ... ok
testSavePaletteAsPNG8 (pygame.tests.image_test.ImageModuleTest.testSavePaletteAsPNG8)
see if we can save a png with color values in the proper channels. ... ok
test_from_to_bytes_exists (pygame.tests.image_test.ImageModuleTest.test_from_to_bytes_exists) ... ok
test_frombuffer_8bit (pygame.tests.image_test.ImageModuleTest.test_frombuffer_8bit)
test reading pixel data from a bytes buffer ... ok
test_frombuffer_ARGB (pygame.tests.image_test.ImageModuleTest.test_frombuffer_ARGB) ... ok
test_frombuffer_BGR (pygame.tests.image_test.ImageModuleTest.test_frombuffer_BGR) ... ok
test_frombuffer_BGRA (pygame.tests.image_test.ImageModuleTest.test_frombuffer_BGRA) ... ok
test_frombuffer_RGB (pygame.tests.image_test.ImageModuleTest.test_frombuffer_RGB) ... ok
test_frombuffer_RGBA (pygame.tests.image_test.ImageModuleTest.test_frombuffer_RGBA) ... ok
test_frombuffer_RGBX (pygame.tests.image_test.ImageModuleTest.test_frombuffer_RGBX) ... ok
test_fromstring__and_tostring (pygame.tests.image_test.ImageModuleTest.test_fromstring__and_tostring)
Ensure methods tostring() and fromstring() are symmetric. ... ok
test_get_extended (pygame.tests.image_test.ImageModuleTest.test_get_extended) ... ok
test_get_sdl_image_version (pygame.tests.image_test.ImageModuleTest.test_get_sdl_image_version) ... ok
test_load_basic (pygame.tests.image_test.ImageModuleTest.test_load_basic)
to see if we can load bmp from files and/or file-like objects in memory ... ok
test_load_bmp_threads (pygame.tests.image_test.ImageModuleTest.test_load_bmp_threads) ... ok
test_load_extended (pygame.tests.image_test.ImageModuleTest.test_load_extended)
can load different format images. ... ok
test_load_gif_threads (pygame.tests.image_test.ImageModuleTest.test_load_gif_threads) ... ok
test_load_jpg_threads (pygame.tests.image_test.ImageModuleTest.test_load_jpg_threads) ... ok
test_load_pathlib (pygame.tests.image_test.ImageModuleTest.test_load_pathlib)
works loading using a Path argument. ... ok
test_load_png_threads (pygame.tests.image_test.ImageModuleTest.test_load_png_threads) ... ok
test_load_unicode_path (pygame.tests.image_test.ImageModuleTest.test_load_unicode_path) ... ok
test_save (pygame.tests.image_test.ImageModuleTest.test_save) ... ok
test_save__to_fileobject_w_namehint_argument (pygame.tests.image_test.ImageModuleTest.test_save__to_fileobject_w_namehint_argument) ... ok
test_save_colorkey (pygame.tests.image_test.ImageModuleTest.test_save_colorkey)
make sure the color key is not changed when saving. ... ok
test_save_extended (pygame.tests.image_test.ImageModuleTest.test_save_extended) ... ok
test_save_pathlib (pygame.tests.image_test.ImageModuleTest.test_save_pathlib) ... ok
test_save_tga (pygame.tests.image_test.ImageModuleTest.test_save_tga) ... ok
test_save_to_fileobject (pygame.tests.image_test.ImageModuleTest.test_save_to_fileobject) ... ok
test_save_unicode_path (pygame.tests.image_test.ImageModuleTest.test_save_unicode_path)
save unicode object with non-ASCII chars ... ok
test_to_string__premultiplied (pygame.tests.image_test.ImageModuleTest.test_to_string__premultiplied)
test to make sure we can export a surface to a premultiplied alpha string ... ok
test_tostring_depth_24 (pygame.tests.image_test.ImageModuleTest.test_tostring_depth_24) ... ok
----------------------------------------------------------------------
Ran 38 tests in 0.344s
OK
loading pygame.tests.imageext_test
test_load_bad_filename (pygame.tests.imageext_test.ImageextModuleTest.test_load_bad_filename) ... skipped 'SDL silently removes invalid characters'
test_load_non_string_file (pygame.tests.imageext_test.ImageextModuleTest.test_load_non_string_file) ... ok
test_load_unicode_path_0 (pygame.tests.imageext_test.ImageextModuleTest.test_load_unicode_path_0) ... ok
test_load_unicode_path_1 (pygame.tests.imageext_test.ImageextModuleTest.test_load_unicode_path_1)
non-ASCII unicode ... ok
test_load_unknown_extension (pygame.tests.imageext_test.ImageextModuleTest.test_load_unknown_extension) ... ok
test_load_unknown_file (pygame.tests.imageext_test.ImageextModuleTest.test_load_unknown_file) ... ok
test_save_bad_filename (pygame.tests.imageext_test.ImageextModuleTest.test_save_bad_filename) ... skipped 'SDL silently removes invalid characters'
test_save_non_string_file (pygame.tests.imageext_test.ImageextModuleTest.test_save_non_string_file) ... ok
test_save_unicode_path_0 (pygame.tests.imageext_test.ImageextModuleTest.test_save_unicode_path_0)
unicode object with ASCII chars ... ok
test_save_unicode_path_1 (pygame.tests.imageext_test.ImageextModuleTest.test_save_unicode_path_1) ... ok
test_save_unknown_extension (pygame.tests.imageext_test.ImageextModuleTest.test_save_unknown_extension) ... ok
----------------------------------------------------------------------
Ran 11 tests in 0.001s
OK (skipped=2)
loading pygame.tests.joystick_test
test_get_count (pygame.tests.joystick_test.JoystickModuleTest.test_get_count) ... ok
test_get_init (pygame.tests.joystick_test.JoystickModuleTest.test_get_init) ... ok
test_init (pygame.tests.joystick_test.JoystickModuleTest.test_init)
This unit test is for joystick.init() ... ok
test_quit (pygame.tests.joystick_test.JoystickModuleTest.test_quit)
Test if joystick.quit works. ... ok
----------------------------------------------------------------------
Ran 4 tests in 0.013s
OK
loading pygame.tests.key_test
test_get_focused (pygame.tests.key_test.KeyModuleTest.test_get_focused) ... skipped 'flaky test, and broken on 2.0.18 windows'
test_get_pressed (pygame.tests.key_test.KeyModuleTest.test_get_pressed) ... ok
test_import (pygame.tests.key_test.KeyModuleTest.test_import)
does it import? ... ok
test_name_and_key_code (pygame.tests.key_test.KeyModuleTest.test_name_and_key_code) ... ok
test_set_and_get_mods (pygame.tests.key_test.KeyModuleTest.test_set_and_get_mods) ... ok
test_set_and_get_repeat (pygame.tests.key_test.KeyModuleTest.test_set_and_get_repeat) ... ok
----------------------------------------------------------------------
Ran 6 tests in 0.003s
OK (skipped=1)
loading pygame.tests.locals_test
test_locals_has_all_constants (pygame.tests.locals_test.LocalsTest.test_locals_has_all_constants) ... ok
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK
loading pygame.tests.mask_test
test_buffer_interface (pygame.tests.mask_test.MaskModuleTest.test_buffer_interface) ... ok
test_from_surface (pygame.tests.mask_test.MaskModuleTest.test_from_surface)
Ensures from_surface creates a mask with the correct bits set. ... ok
test_from_surface__different_alphas_16bit (pygame.tests.mask_test.MaskModuleTest.test_from_surface__different_alphas_16bit)
Ensures from_surface creates a mask with the correct bits set ... ok
test_from_surface__different_alphas_32bit (pygame.tests.mask_test.MaskModuleTest.test_from_surface__different_alphas_32bit)
Ensures from_surface creates a mask with the correct bits set ... ok
test_from_surface__with_colorkey_mask_cleared (pygame.tests.mask_test.MaskModuleTest.test_from_surface__with_colorkey_mask_cleared)
Ensures from_surface creates a mask with the correct bits set ... ok
test_from_surface__with_colorkey_mask_filled (pygame.tests.mask_test.MaskModuleTest.test_from_surface__with_colorkey_mask_filled)
Ensures from_surface creates a mask with the correct bits set ... ok
test_from_surface__with_colorkey_mask_pattern (pygame.tests.mask_test.MaskModuleTest.test_from_surface__with_colorkey_mask_pattern)
Ensures from_surface creates a mask with the correct bits set ... ok
test_from_threshold (pygame.tests.mask_test.MaskModuleTest.test_from_threshold)
Does mask.from_threshold() work correctly? ... ok
test_zero_size_from_surface (pygame.tests.mask_test.MaskModuleTest.test_zero_size_from_surface)
Ensures from_surface can create masks from zero sized surfaces. ... ok
test_zero_size_from_threshold (pygame.tests.mask_test.MaskModuleTest.test_zero_size_from_threshold) ... ok
test_subclass_angle (pygame.tests.mask_test.MaskSubclassTest.test_subclass_angle)
Ensures angle works for subclassed Masks. ... ok
test_subclass_centroid (pygame.tests.mask_test.MaskSubclassTest.test_subclass_centroid)
Ensures centroid works for subclassed Masks. ... ok
test_subclass_clear (pygame.tests.mask_test.MaskSubclassTest.test_subclass_clear)
Ensures clear works for subclassed Masks. ... ok
test_subclass_connected_component (pygame.tests.mask_test.MaskSubclassTest.test_subclass_connected_component)
Ensures connected_component works for subclassed Masks. ... ok
test_subclass_connected_components (pygame.tests.mask_test.MaskSubclassTest.test_subclass_connected_components)
Ensures connected_components works for subclassed Masks. ... ok
test_subclass_convolve (pygame.tests.mask_test.MaskSubclassTest.test_subclass_convolve)
Ensures convolve works for subclassed Masks. ... ok
test_subclass_copy (pygame.tests.mask_test.MaskSubclassTest.test_subclass_copy)
Ensures copy works for subclassed Masks. ... ok
test_subclass_copy__override_both_copy_methods (pygame.tests.mask_test.MaskSubclassTest.test_subclass_copy__override_both_copy_methods)
Ensures copy works for subclassed Masks overriding copy/__copy__. ... ok
test_subclass_copy__override_copy (pygame.tests.mask_test.MaskSubclassTest.test_subclass_copy__override_copy)
Ensures copy works for subclassed Masks overriding copy. ... ok
test_subclass_copy__override_dunder_copy (pygame.tests.mask_test.MaskSubclassTest.test_subclass_copy__override_dunder_copy)
Ensures copy works for subclassed Masks overriding __copy__. ... ok
test_subclass_count (pygame.tests.mask_test.MaskSubclassTest.test_subclass_count)
Ensures count works for subclassed Masks. ... ok
test_subclass_draw (pygame.tests.mask_test.MaskSubclassTest.test_subclass_draw)
Ensures draw works for subclassed Masks. ... ok
test_subclass_erase (pygame.tests.mask_test.MaskSubclassTest.test_subclass_erase)
Ensures erase works for subclassed Masks. ... ok
test_subclass_fill (pygame.tests.mask_test.MaskSubclassTest.test_subclass_fill)
Ensures fill works for subclassed Masks. ... ok
test_subclass_get_at (pygame.tests.mask_test.MaskSubclassTest.test_subclass_get_at)
Ensures get_at works for subclassed Masks. ... ok
test_subclass_get_bounding_rects (pygame.tests.mask_test.MaskSubclassTest.test_subclass_get_bounding_rects)
Ensures get_bounding_rects works for subclassed Masks. ... ok
test_subclass_get_size (pygame.tests.mask_test.MaskSubclassTest.test_subclass_get_size)
Ensures get_size works for subclassed Masks. ... ok
test_subclass_invert (pygame.tests.mask_test.MaskSubclassTest.test_subclass_invert)
Ensures invert works for subclassed Masks. ... ok
test_subclass_mask (pygame.tests.mask_test.MaskSubclassTest.test_subclass_mask)
Ensures the Mask class can be subclassed. ... ok
test_subclass_mask_get_rect (pygame.tests.mask_test.MaskSubclassTest.test_subclass_mask_get_rect)
Ensures get_rect works for subclassed Masks. ... ok
test_subclass_outline (pygame.tests.mask_test.MaskSubclassTest.test_subclass_outline)
Ensures outline works for subclassed Masks. ... ok
test_subclass_overlap (pygame.tests.mask_test.MaskSubclassTest.test_subclass_overlap)
Ensures overlap works for subclassed Masks. ... ok
test_subclass_overlap_area (pygame.tests.mask_test.MaskSubclassTest.test_subclass_overlap_area)
Ensures overlap_area works for subclassed Masks. ... ok
test_subclass_overlap_mask (pygame.tests.mask_test.MaskSubclassTest.test_subclass_overlap_mask)
Ensures overlap_mask works for subclassed Masks. ... ok
test_subclass_scale (pygame.tests.mask_test.MaskSubclassTest.test_subclass_scale)
Ensures scale works for subclassed Masks. ... ok
test_subclass_set_at (pygame.tests.mask_test.MaskSubclassTest.test_subclass_set_at)
Ensures set_at works for subclassed Masks. ... ok
test_subclass_to_surface (pygame.tests.mask_test.MaskSubclassTest.test_subclass_to_surface)
Ensures to_surface works for subclassed Masks. ... ok
test_angle (pygame.tests.mask_test.MaskTypeTest.test_angle)
Ensure a mask's orientation angle is correctly calculated. ... ok
test_angle__empty_mask (pygame.tests.mask_test.MaskTypeTest.test_angle__empty_mask)
Ensure an empty mask's angle is correctly calculated. ... ok
test_centroid (pygame.tests.mask_test.MaskTypeTest.test_centroid)
Ensure a filled mask's centroid is correctly calculated. ... ok
test_centroid__all_corners (pygame.tests.mask_test.MaskTypeTest.test_centroid__all_corners)
Ensure a mask's centroid is correctly calculated ... ok
test_centroid__empty_mask (pygame.tests.mask_test.MaskTypeTest.test_centroid__empty_mask)
Ensure an empty mask's centroid is correctly calculated. ... ok
test_centroid__single_column (pygame.tests.mask_test.MaskTypeTest.test_centroid__single_column)
Ensure a mask's centroid is correctly calculated ... ok
test_centroid__single_row (pygame.tests.mask_test.MaskTypeTest.test_centroid__single_row)
Ensure a mask's centroid is correctly calculated ... ok
test_centroid__two_columns (pygame.tests.mask_test.MaskTypeTest.test_centroid__two_columns)
Ensure a mask's centroid is correctly calculated ... ok
test_centroid__two_corners (pygame.tests.mask_test.MaskTypeTest.test_centroid__two_corners)
Ensure a mask's centroid is correctly calculated ... ok
test_centroid__two_rows (pygame.tests.mask_test.MaskTypeTest.test_centroid__two_rows)
Ensure a mask's centroid is correctly calculated ... ok
test_clear (pygame.tests.mask_test.MaskTypeTest.test_clear)
Ensure a mask can be cleared. ... ok
test_clear__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_clear__bit_boundaries)
Ensures masks of different sizes are cleared correctly. ... ok
test_connected_component (pygame.tests.mask_test.MaskTypeTest.test_connected_component)
Ensure a mask's connected component is correctly calculated. ... ok
test_connected_component__empty_mask (pygame.tests.mask_test.MaskTypeTest.test_connected_component__empty_mask)
Ensure a mask's connected component is correctly calculated ... ok
test_connected_component__full_mask (pygame.tests.mask_test.MaskTypeTest.test_connected_component__full_mask)
Ensure a mask's connected component is correctly calculated ... ok
test_connected_component__multi_set_bits (pygame.tests.mask_test.MaskTypeTest.test_connected_component__multi_set_bits)
Ensure a mask's connected component is correctly calculated ... ok
test_connected_component__one_set_bit (pygame.tests.mask_test.MaskTypeTest.test_connected_component__one_set_bit)
Ensure a mask's connected component is correctly calculated ... ok
test_connected_component__out_of_bounds (pygame.tests.mask_test.MaskTypeTest.test_connected_component__out_of_bounds)
Ensure connected_component() checks bounds. ... ok
test_connected_component__unset_bit (pygame.tests.mask_test.MaskTypeTest.test_connected_component__unset_bit)
Ensure a mask's connected component is correctly calculated ... ok
test_connected_components (pygame.tests.mask_test.MaskTypeTest.test_connected_components) ... ok
test_connected_components__negative_min_with_empty_mask (pygame.tests.mask_test.MaskTypeTest.test_connected_components__negative_min_with_empty_mask)
Ensures connected_components() properly handles negative min values ... ok
test_connected_components__negative_min_with_full_mask (pygame.tests.mask_test.MaskTypeTest.test_connected_components__negative_min_with_full_mask)
Ensures connected_components() properly handles negative min values ... ok
test_connected_components__negative_min_with_some_bits_set (pygame.tests.mask_test.MaskTypeTest.test_connected_components__negative_min_with_some_bits_set)
Ensures connected_components() properly handles negative min values ... ok
test_convolve (pygame.tests.mask_test.MaskTypeTest.test_convolve)
Tests the definition of convolution ... ok
test_convolve__out_of_range (pygame.tests.mask_test.MaskTypeTest.test_convolve__out_of_range) ... ok
test_convolve__point_identities (pygame.tests.mask_test.MaskTypeTest.test_convolve__point_identities)
Convolving with a single point is the identity, while convolving a point with something flips it. ... ok
test_convolve__size (pygame.tests.mask_test.MaskTypeTest.test_convolve__size) ... ok
test_convolve__with_output (pygame.tests.mask_test.MaskTypeTest.test_convolve__with_output)
checks that convolution modifies only the correct portion of the output ... ok
test_copy (pygame.tests.mask_test.MaskTypeTest.test_copy)
Ensures copy works correctly with some bits set and unset. ... ok
test_copy__empty (pygame.tests.mask_test.MaskTypeTest.test_copy__empty)
Ensures copy works correctly on an empty mask. ... ok
test_copy__full (pygame.tests.mask_test.MaskTypeTest.test_copy__full)
Ensures copy works correctly on a filled masked. ... ok
test_copy__independent (pygame.tests.mask_test.MaskTypeTest.test_copy__independent)
Ensures copy makes an independent copy of the mask. ... ok
test_count (pygame.tests.mask_test.MaskTypeTest.test_count)
Ensure a mask's set bits are correctly counted. ... ok
test_count__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_count__bit_boundaries)
Ensures the set bits of different sized masks are counted correctly. ... ok
test_count__empty_mask (pygame.tests.mask_test.MaskTypeTest.test_count__empty_mask)
Ensure an empty mask's set bits are correctly counted. ... ok
test_count__full_mask (pygame.tests.mask_test.MaskTypeTest.test_count__full_mask)
Ensure a full mask's set bits are correctly counted. ... ok
test_draw (pygame.tests.mask_test.MaskTypeTest.test_draw)
Ensure a mask can be drawn onto another mask. ... ok
test_draw__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_draw__bit_boundaries)
Ensures draw handles masks of different sizes correctly. ... ok
test_draw__invalid_mask_arg (pygame.tests.mask_test.MaskTypeTest.test_draw__invalid_mask_arg)
Ensure draw handles invalid mask arguments correctly. ... ok
test_draw__invalid_offset_arg (pygame.tests.mask_test.MaskTypeTest.test_draw__invalid_offset_arg)
Ensure draw handles invalid offset arguments correctly. ... ok
test_draw__offset (pygame.tests.mask_test.MaskTypeTest.test_draw__offset)
Ensure an offset mask can be drawn onto another mask. ... ok
test_draw__offset_boundary (pygame.tests.mask_test.MaskTypeTest.test_draw__offset_boundary)
Ensures draw handles offsets and boundaries correctly. ... ok
test_draw__specific_offsets (pygame.tests.mask_test.MaskTypeTest.test_draw__specific_offsets)
Ensure an offset mask can be drawn onto another mask. ... ok
test_drawing (pygame.tests.mask_test.MaskTypeTest.test_drawing)
Test fill, clear, invert, draw, erase ... ok
test_erase (pygame.tests.mask_test.MaskTypeTest.test_erase)
Ensure a mask can erase another mask. ... ok
test_erase__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_erase__bit_boundaries)
Ensures erase handles masks of different sizes correctly. ... ok
test_erase__invalid_mask_arg (pygame.tests.mask_test.MaskTypeTest.test_erase__invalid_mask_arg)
Ensure erase handles invalid mask arguments correctly. ... ok
test_erase__invalid_offset_arg (pygame.tests.mask_test.MaskTypeTest.test_erase__invalid_offset_arg)
Ensure erase handles invalid offset arguments correctly. ... ok
test_erase__offset (pygame.tests.mask_test.MaskTypeTest.test_erase__offset)
Ensure an offset mask can erase another mask. ... ok
test_erase__offset_boundary (pygame.tests.mask_test.MaskTypeTest.test_erase__offset_boundary)
Ensures erase handles offsets and boundaries correctly. ... ok
test_erase__specific_offsets (pygame.tests.mask_test.MaskTypeTest.test_erase__specific_offsets)
Ensure an offset mask can erase another mask. ... ok
test_fill (pygame.tests.mask_test.MaskTypeTest.test_fill)
Ensure a mask can be filled. ... ok
test_fill__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_fill__bit_boundaries)
Ensures masks of different sizes are filled correctly. ... ok
test_get_at (pygame.tests.mask_test.MaskTypeTest.test_get_at)
Ensure individual mask bits are correctly retrieved. ... ok
test_get_at__out_of_bounds (pygame.tests.mask_test.MaskTypeTest.test_get_at__out_of_bounds)
Ensure get_at() checks bounds. ... ok
test_get_bounding_rects (pygame.tests.mask_test.MaskTypeTest.test_get_bounding_rects)
Ensures get_bounding_rects works correctly. ... ok
test_get_rect (pygame.tests.mask_test.MaskTypeTest.test_get_rect)
Ensures get_rect works correctly. ... ok
test_get_rect__invalid_kwarg_format (pygame.tests.mask_test.MaskTypeTest.test_get_rect__invalid_kwarg_format)
Ensures get_rect detects invalid kwarg formats. ... ok
test_get_rect__invalid_kwarg_name (pygame.tests.mask_test.MaskTypeTest.test_get_rect__invalid_kwarg_name)
Ensures get_rect detects invalid kwargs. ... ok
test_get_rect__multiple_kwargs (pygame.tests.mask_test.MaskTypeTest.test_get_rect__multiple_kwargs)
Ensures get_rect supports multiple rect attribute kwargs. ... ok
test_get_rect__no_arg_support (pygame.tests.mask_test.MaskTypeTest.test_get_rect__no_arg_support)
Ensures get_rect only supports kwargs. ... ok
test_get_rect__one_kwarg (pygame.tests.mask_test.MaskTypeTest.test_get_rect__one_kwarg)
Ensures get_rect supports a single rect attribute kwarg. ... ok
test_get_size (pygame.tests.mask_test.MaskTypeTest.test_get_size)
Ensure a mask's size is correctly retrieved. ... ok
test_invert (pygame.tests.mask_test.MaskTypeTest.test_invert)
Ensure a mask can be inverted. ... ok
test_invert__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_invert__bit_boundaries)
Ensures masks of different sizes are inverted correctly. ... ok
test_invert__empty (pygame.tests.mask_test.MaskTypeTest.test_invert__empty)
Ensure an empty mask can be inverted. ... ok
test_invert__full (pygame.tests.mask_test.MaskTypeTest.test_invert__full)
Ensure a full mask can be inverted. ... ok
test_mask (pygame.tests.mask_test.MaskTypeTest.test_mask)
Ensure masks are created correctly without fill parameter. ... ok
test_mask__fill_arg (pygame.tests.mask_test.MaskTypeTest.test_mask__fill_arg)
Ensure masks are created correctly using a fill arg. ... ok
test_mask__fill_kwarg (pygame.tests.mask_test.MaskTypeTest.test_mask__fill_kwarg)
Ensure masks are created correctly using the fill keyword. ... ok
test_mask__fill_kwarg_bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_mask__fill_kwarg_bit_boundaries)
Ensures masks are created correctly using the fill keyword ... ok
test_mask__negative_size (pygame.tests.mask_test.MaskTypeTest.test_mask__negative_size)
Ensure the mask constructor handles negative sizes correctly. ... ok
test_mask__size_kwarg (pygame.tests.mask_test.MaskTypeTest.test_mask__size_kwarg)
Ensure masks are created correctly using the size keyword. ... ok
test_mask_access (pygame.tests.mask_test.MaskTypeTest.test_mask_access)
do the set_at, and get_at parts work correctly? ... ok
test_outline (pygame.tests.mask_test.MaskTypeTest.test_outline) ... ok
test_overlap (pygame.tests.mask_test.MaskTypeTest.test_overlap)
Ensure the overlap intersection is correctly calculated. ... ok
test_overlap__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_overlap__bit_boundaries)
Ensures overlap handles masks of different sizes correctly. ... ok
test_overlap__invalid_mask_arg (pygame.tests.mask_test.MaskTypeTest.test_overlap__invalid_mask_arg)
Ensure overlap handles invalid mask arguments correctly. ... ok
test_overlap__invalid_offset_arg (pygame.tests.mask_test.MaskTypeTest.test_overlap__invalid_offset_arg)
Ensure overlap handles invalid offset arguments correctly. ... ok
test_overlap__no_overlap (pygame.tests.mask_test.MaskTypeTest.test_overlap__no_overlap)
Ensure an offset overlap intersection is correctly calculated ... ok
test_overlap__offset (pygame.tests.mask_test.MaskTypeTest.test_overlap__offset)
Ensure an offset overlap intersection is correctly calculated. ... ok
test_overlap__offset_boundary (pygame.tests.mask_test.MaskTypeTest.test_overlap__offset_boundary)
Ensures overlap handles offsets and boundaries correctly. ... ok
test_overlap__offset_with_unset_bits (pygame.tests.mask_test.MaskTypeTest.test_overlap__offset_with_unset_bits)
Ensure an offset overlap intersection is correctly calculated ... ok
test_overlap_area (pygame.tests.mask_test.MaskTypeTest.test_overlap_area)
Ensure the overlap_area is correctly calculated. ... ok
test_overlap_area__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_overlap_area__bit_boundaries)
Ensures overlap_area handles masks of different sizes correctly. ... ok
test_overlap_area__invalid_mask_arg (pygame.tests.mask_test.MaskTypeTest.test_overlap_area__invalid_mask_arg)
Ensure overlap_area handles invalid mask arguments correctly. ... ok
test_overlap_area__invalid_offset_arg (pygame.tests.mask_test.MaskTypeTest.test_overlap_area__invalid_offset_arg)
Ensure overlap_area handles invalid offset arguments correctly. ... ok
test_overlap_area__offset (pygame.tests.mask_test.MaskTypeTest.test_overlap_area__offset)
Ensure an offset overlap_area is correctly calculated. ... ok
test_overlap_area__offset_boundary (pygame.tests.mask_test.MaskTypeTest.test_overlap_area__offset_boundary)
Ensures overlap_area handles offsets and boundaries correctly. ... ok
test_overlap_mask (pygame.tests.mask_test.MaskTypeTest.test_overlap_mask)
Ensure overlap_mask's mask has correct bits set. ... ok
test_overlap_mask__bit_boundaries (pygame.tests.mask_test.MaskTypeTest.test_overlap_mask__bit_boundaries)
Ensures overlap_mask handles masks of different sizes correctly. ... ok
test_overlap_mask__bits_set (pygame.tests.mask_test.MaskTypeTest.test_overlap_mask__bits_set)
Ensure overlap_mask's mask has correct bits set. ... ok
test_overlap_mask__invalid_mask_arg (pygame.tests.mask_test.MaskTypeTest.test_overlap_mask__invalid_mask_arg)
Ensure overlap_mask handles invalid mask arguments correctly. ... ok
test_overlap_mask__invalid_offset_arg (pygame.tests.mask_test.MaskTypeTest.test_overlap_mask__invalid_offset_arg)
Ensure overlap_mask handles invalid offset arguments correctly. ... ok
test_overlap_mask__offset (pygame.tests.mask_test.MaskTypeTest.test_overlap_mask__offset)
Ensure an offset overlap_mask's mask is correctly calculated. ... ok
test_overlap_mask__offset_boundary (pygame.tests.mask_test.MaskTypeTest.test_overlap_mask__offset_boundary)
Ensures overlap_mask handles offsets and boundaries correctly. ... ok
test_overlap_mask__specific_offsets (pygame.tests.mask_test.MaskTypeTest.test_overlap_mask__specific_offsets)
Ensure an offset overlap_mask's mask is correctly calculated. ... ok
test_scale (pygame.tests.mask_test.MaskTypeTest.test_scale)
Ensure a mask can be scaled. ... ok
test_scale__negative_size (pygame.tests.mask_test.MaskTypeTest.test_scale__negative_size)
Ensure scale handles negative sizes correctly. ... ok
test_set_at (pygame.tests.mask_test.MaskTypeTest.test_set_at)
Ensure individual mask bits are set to 1. ... ok
test_set_at__default_value (pygame.tests.mask_test.MaskTypeTest.test_set_at__default_value)
Ensure individual mask bits are set using the default value. ... ok
test_set_at__out_of_bounds (pygame.tests.mask_test.MaskTypeTest.test_set_at__out_of_bounds)
Ensure set_at() checks bounds. ... ok
test_set_at__to_0 (pygame.tests.mask_test.MaskTypeTest.test_set_at__to_0)
Ensure individual mask bits are set to 0. ... ok
test_to_surface (pygame.tests.mask_test.MaskTypeTest.test_to_surface)
Ensures empty and full masks can be drawn onto surfaces. ... ok
test_to_surface__all_surfaces_different_sizes_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__all_surfaces_different_sizes_than_mask)
Ensures that all the surface parameters can be of different sizes. ... ok
test_to_surface__area_default (pygame.tests.mask_test.MaskTypeTest.test_to_surface__area_default)
Ensures the default area is correct. ... ok
test_to_surface__area_locations (pygame.tests.mask_test.MaskTypeTest.test_to_surface__area_locations)
Ensures area rects can be different locations on/off the mask. ... expected failure
test_to_surface__area_off_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__area_off_mask)
Ensures area values off the mask work correctly ... expected failure
test_to_surface__area_off_mask_with_setsurface_unsetsurface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__area_off_mask_with_setsurface_unsetsurface)
Ensures area values off the mask work correctly ... expected failure
test_to_surface__area_on_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__area_on_mask)
Ensures area values on the mask work correctly ... expected failure
test_to_surface__area_on_mask_with_setsurface_unsetsurface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__area_on_mask_with_setsurface_unsetsurface)
Ensures area values on the mask work correctly ... expected failure
test_to_surface__area_param (pygame.tests.mask_test.MaskTypeTest.test_to_surface__area_param)
Ensures to_surface accepts an area arg/kwarg. ... expected failure
test_to_surface__area_sizes (pygame.tests.mask_test.MaskTypeTest.test_to_surface__area_sizes)
Ensures area rects can be different sizes. ... expected failure
test_to_surface__args_and_kwargs (pygame.tests.mask_test.MaskTypeTest.test_to_surface__args_and_kwargs)
Ensures to_surface accepts a combination of args/kwargs ... ok
test_to_surface__args_invalid_types (pygame.tests.mask_test.MaskTypeTest.test_to_surface__args_invalid_types)
Ensures to_surface detects invalid kwarg types. ... ok
test_to_surface__color_alphas (pygame.tests.mask_test.MaskTypeTest.test_to_surface__color_alphas)
Ensures the setcolor/unsetcolor alpha values are respected. ... ok
test_to_surface__create_surface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__create_surface)
Ensures empty and full masks can be drawn onto a created surface. ... ok
test_to_surface__default_surface_with_param_combinations (pygame.tests.mask_test.MaskTypeTest.test_to_surface__default_surface_with_param_combinations)
Ensures to_surface works with a default surface value ... ok
test_to_surface__depths (pygame.tests.mask_test.MaskTypeTest.test_to_surface__depths)
Ensures to_surface works correctly with supported surface depths. ... ok
test_to_surface__dest_and_area_locations (pygame.tests.mask_test.MaskTypeTest.test_to_surface__dest_and_area_locations)
Ensures dest/area values can be different locations on/off the ... expected failure
test_to_surface__dest_default (pygame.tests.mask_test.MaskTypeTest.test_to_surface__dest_default)
Ensures the default dest is correct. ... ok
test_to_surface__dest_locations (pygame.tests.mask_test.MaskTypeTest.test_to_surface__dest_locations)
Ensures dest values can be different locations on/off the surface. ... ok
test_to_surface__dest_off_surface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__dest_off_surface)
Ensures dest values off the surface work correctly ... ok
test_to_surface__dest_off_surface_with_setsurface_unsetsurface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__dest_off_surface_with_setsurface_unsetsurface)
Ensures dest values off the surface work correctly ... ok
test_to_surface__dest_on_surface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__dest_on_surface)
Ensures dest values on the surface work correctly ... ok
test_to_surface__dest_on_surface_with_setsurface_unsetsurface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__dest_on_surface_with_setsurface_unsetsurface)
Ensures dest values on the surface work correctly ... ok
test_to_surface__dest_param (pygame.tests.mask_test.MaskTypeTest.test_to_surface__dest_param)
Ensures to_surface accepts a dest arg/kwarg. ... ok
test_to_surface__different_depths (pygame.tests.mask_test.MaskTypeTest.test_to_surface__different_depths)
Ensures an exception is raised when surfaces have different depths. ... ok
test_to_surface__different_depths_with_created_surfaces (pygame.tests.mask_test.MaskTypeTest.test_to_surface__different_depths_with_created_surfaces)
Ensures an exception is raised when surfaces have different depths ... ok
test_to_surface__different_srcalphas (pygame.tests.mask_test.MaskTypeTest.test_to_surface__different_srcalphas)
Ensures an exception is raised when surfaces have different SRCALPHA ... ok
test_to_surface__different_srcalphas_with_created_surfaces (pygame.tests.mask_test.MaskTypeTest.test_to_surface__different_srcalphas_with_created_surfaces)
Ensures an exception is raised when surfaces have different SRCALPHA ... ok
test_to_surface__invalid_area_formats (pygame.tests.mask_test.MaskTypeTest.test_to_surface__invalid_area_formats)
Ensures to_surface handles invalid area formats correctly. ... expected failure
test_to_surface__invalid_dest_formats (pygame.tests.mask_test.MaskTypeTest.test_to_surface__invalid_dest_formats)
Ensures to_surface handles invalid dest formats correctly. ... ok
test_to_surface__invalid_setcolor_formats (pygame.tests.mask_test.MaskTypeTest.test_to_surface__invalid_setcolor_formats)
Ensures to_surface handles invalid setcolor formats correctly. ... ok
test_to_surface__invalid_unsetcolor_formats (pygame.tests.mask_test.MaskTypeTest.test_to_surface__invalid_unsetcolor_formats)
Ensures to_surface handles invalid unsetcolor formats correctly. ... ok
test_to_surface__kwargs (pygame.tests.mask_test.MaskTypeTest.test_to_surface__kwargs)
Ensures to_surface accepts the correct kwargs. ... ok
test_to_surface__kwargs_create_surface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__kwargs_create_surface)
Ensures to_surface accepts the correct kwargs ... ok
test_to_surface__kwargs_invalid_name (pygame.tests.mask_test.MaskTypeTest.test_to_surface__kwargs_invalid_name)
Ensures to_surface detects invalid kwarg names. ... ok
test_to_surface__kwargs_invalid_types (pygame.tests.mask_test.MaskTypeTest.test_to_surface__kwargs_invalid_types)
Ensures to_surface detects invalid kwarg types. ... ok
test_to_surface__kwargs_order_independent (pygame.tests.mask_test.MaskTypeTest.test_to_surface__kwargs_order_independent)
Ensures to_surface kwargs are not order dependent. ... ok
test_to_surface__negative_sized_area_rect (pygame.tests.mask_test.MaskTypeTest.test_to_surface__negative_sized_area_rect)
Ensures to_surface correctly handles negative sized area rects. ... expected failure
test_to_surface__negative_sized_dest_rect (pygame.tests.mask_test.MaskTypeTest.test_to_surface__negative_sized_dest_rect)
Ensures to_surface correctly handles negative sized dest rects. ... ok
test_to_surface__same_srcalphas (pygame.tests.mask_test.MaskTypeTest.test_to_surface__same_srcalphas)
Ensures to_surface works correctly when the SRCALPHA flag is set or not. ... ok
test_to_surface__same_srcalphas_with_created_surfaces (pygame.tests.mask_test.MaskTypeTest.test_to_surface__same_srcalphas_with_created_surfaces)
Ensures to_surface works correctly when it creates a surface ... ok
test_to_surface__set_and_unset_bits (pygame.tests.mask_test.MaskTypeTest.test_to_surface__set_and_unset_bits)
Ensures that to_surface works correctly with with set/unset bits ... ok
test_to_surface__set_and_unset_bits_with_setsurface_unsetsurface (pygame.tests.mask_test.MaskTypeTest.test_to_surface__set_and_unset_bits_with_setsurface_unsetsurface)
Ensures that to_surface works correctly with with set/unset bits ... ok
test_to_surface__setcolor_default (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setcolor_default)
Ensures the default setcolor is correct. ... ok
test_to_surface__setcolor_param (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setcolor_param)
Ensures to_surface accepts a setcolor arg/kwarg. ... ok
test_to_surface__setsurface_narrower_and_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_narrower_and_shorter_than_mask)
Ensures that setsurfaces narrower and shorter than the mask work ... ok
test_to_surface__setsurface_narrower_and_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_narrower_and_taller_than_mask)
Ensures that setsurfaces narrower and taller than the mask work ... ok
test_to_surface__setsurface_narrower_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_narrower_than_mask)
Ensures that setsurfaces narrower than the mask work correctly. ... ok
test_to_surface__setsurface_narrower_than_mask_and_colors_none (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_narrower_than_mask_and_colors_none)
Ensures that setsurfaces narrower than the mask work correctly ... ok
test_to_surface__setsurface_param (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_param)
Ensures to_surface accepts a setsurface arg/kwarg. ... ok
test_to_surface__setsurface_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_shorter_than_mask)
Ensures that setsurfaces shorter than the mask work correctly. ... ok
test_to_surface__setsurface_shorter_than_mask_and_colors_none (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_shorter_than_mask_and_colors_none)
Ensures that setsurfaces shorter than the mask work correctly ... ok
test_to_surface__setsurface_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_taller_than_mask)
Ensures that setsurfaces taller than the mask work correctly. ... ok
test_to_surface__setsurface_wider_and_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_wider_and_shorter_than_mask)
Ensures that setsurfaces wider and shorter than the mask work ... ok
test_to_surface__setsurface_wider_and_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_wider_and_taller_than_mask)
Ensures that setsurfaces wider and taller than the mask work ... ok
test_to_surface__setsurface_wider_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_wider_than_mask)
Ensures that setsurfaces wider than the mask work correctly. ... ok
test_to_surface__setsurface_with_zero_size (pygame.tests.mask_test.MaskTypeTest.test_to_surface__setsurface_with_zero_size)
Ensures zero sized setsurfaces are handled correctly. ... ok
test_to_surface__surface_color_alphas (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_color_alphas)
Ensures the setsurface/unsetsurface color alpha values are respected. ... ok
test_to_surface__surface_narrower_and_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_narrower_and_shorter_than_mask)
Ensures that surfaces narrower and shorter than the mask work ... ok
test_to_surface__surface_narrower_and_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_narrower_and_taller_than_mask)
Ensures that surfaces narrower and taller than the mask work ... ok
test_to_surface__surface_narrower_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_narrower_than_mask)
Ensures that surfaces narrower than the mask work correctly. ... ok
test_to_surface__surface_param (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_param)
Ensures to_surface accepts a surface arg/kwarg. ... ok
test_to_surface__surface_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_shorter_than_mask)
Ensures that surfaces shorter than the mask work correctly. ... ok
test_to_surface__surface_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_taller_than_mask)
Ensures that surfaces taller than the mask work correctly. ... ok
test_to_surface__surface_wider_and_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_wider_and_shorter_than_mask)
Ensures that surfaces wider and shorter than the mask work ... ok
test_to_surface__surface_wider_and_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_wider_and_taller_than_mask)
Ensures that surfaces wider and taller than the mask work correctly. ... ok
test_to_surface__surface_wider_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_wider_than_mask)
Ensures that surfaces wider than the mask work correctly. ... ok
test_to_surface__surface_with_param_combinations (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_with_param_combinations)
Ensures to_surface works with a surface value ... ok
test_to_surface__surface_with_zero_size (pygame.tests.mask_test.MaskTypeTest.test_to_surface__surface_with_zero_size)
Ensures zero sized surfaces are handled correctly. ... ok
test_to_surface__unsetcolor_default (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetcolor_default)
Ensures the default unsetcolor is correct. ... ok
test_to_surface__unsetcolor_param (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetcolor_param)
Ensures to_surface accepts a unsetcolor arg/kwarg. ... ok
test_to_surface__unsetsurface_narrower_and_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_narrower_and_shorter_than_mask)
Ensures that unsetsurfaces narrower and shorter than the mask work ... ok
test_to_surface__unsetsurface_narrower_and_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_narrower_and_taller_than_mask)
Ensures that unsetsurfaces narrower and taller than the mask work ... ok
test_to_surface__unsetsurface_narrower_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_narrower_than_mask)
Ensures that unsetsurfaces narrower than the mask work correctly. ... ok
test_to_surface__unsetsurface_narrower_than_mask_and_colors_none (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_narrower_than_mask_and_colors_none)
Ensures that unsetsurfaces narrower than the mask work correctly ... ok
test_to_surface__unsetsurface_param (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_param)
Ensures to_surface accepts a unsetsurface arg/kwarg. ... ok
test_to_surface__unsetsurface_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_shorter_than_mask)
Ensures that unsetsurfaces shorter than the mask work correctly. ... ok
test_to_surface__unsetsurface_shorter_than_mask_and_colors_none (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_shorter_than_mask_and_colors_none)
Ensures that unsetsurfaces shorter than the mask work correctly ... ok
test_to_surface__unsetsurface_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_taller_than_mask)
Ensures that unsetsurfaces taller than the mask work correctly. ... ok
test_to_surface__unsetsurface_wider_and_shorter_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_wider_and_shorter_than_mask)
Ensures that unsetsurfaces wider and shorter than the mask work ... ok
test_to_surface__unsetsurface_wider_and_taller_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_wider_and_taller_than_mask)
Ensures that unsetsurfaces wider and taller than the mask work ... ok
test_to_surface__unsetsurface_wider_than_mask (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_wider_than_mask)
Ensures that unsetsurfaces wider than the mask work correctly. ... ok
test_to_surface__unsetsurface_with_zero_size (pygame.tests.mask_test.MaskTypeTest.test_to_surface__unsetsurface_with_zero_size)
Ensures zero sized unsetsurfaces are handled correctly. ... ok
test_to_surface__valid_area_formats (pygame.tests.mask_test.MaskTypeTest.test_to_surface__valid_area_formats)
Ensures to_surface handles valid area formats correctly. ... expected failure
test_to_surface__valid_dest_formats (pygame.tests.mask_test.MaskTypeTest.test_to_surface__valid_dest_formats)
Ensures to_surface handles valid dest formats correctly. ... ok
test_to_surface__valid_setcolor_formats (pygame.tests.mask_test.MaskTypeTest.test_to_surface__valid_setcolor_formats)
Ensures to_surface handles valid setcolor formats correctly. ... ok
test_to_surface__valid_unsetcolor_formats (pygame.tests.mask_test.MaskTypeTest.test_to_surface__valid_unsetcolor_formats)
Ensures to_surface handles valid unsetcolor formats correctly. ... ok
test_to_surface__zero_sized_area_rect (pygame.tests.mask_test.MaskTypeTest.test_to_surface__zero_sized_area_rect)
Ensures to_surface correctly handles zero sized area rects. ... expected failure
test_to_surface__zero_sized_dest_rect (pygame.tests.mask_test.MaskTypeTest.test_to_surface__zero_sized_dest_rect)
Ensures to_surface correctly handles zero sized dest rects. ... ok
test_zero_mask (pygame.tests.mask_test.MaskTypeTest.test_zero_mask)
Ensures masks can be created with zero sizes. ... ok
test_zero_mask_angle (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_angle) ... ok
test_zero_mask_centroid (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_centroid) ... ok
test_zero_mask_clear (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_clear) ... ok
test_zero_mask_connected_component (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_connected_component)
Ensures connected_component correctly handles zero sized masks. ... ok
test_zero_mask_connected_component__indexed (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_connected_component__indexed)
Ensures connected_component correctly handles zero sized masks ... ok
test_zero_mask_connected_components (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_connected_components)
Ensures connected_components correctly handles zero sized masks. ... ok
test_zero_mask_convolve (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_convolve)
Ensures convolve correctly handles zero sized masks. ... ok
test_zero_mask_convolve__with_output_mask (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_convolve__with_output_mask)
Ensures convolve correctly handles zero sized masks ... ok
test_zero_mask_copy (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_copy)
Ensures copy correctly handles zero sized masks. ... ok
test_zero_mask_count (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_count) ... ok
test_zero_mask_draw (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_draw)
Ensures draw correctly handles zero sized masks. ... ok
test_zero_mask_erase (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_erase)
Ensures erase correctly handles zero sized masks. ... ok
test_zero_mask_fill (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_fill)
Ensures fill correctly handles zero sized masks. ... ok
test_zero_mask_flip (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_flip) ... ok
test_zero_mask_get_at (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_get_at)
Ensures get_at correctly handles zero sized masks. ... ok
test_zero_mask_get_bounding_rects (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_get_bounding_rects)
Ensures get_bounding_rects correctly handles zero sized masks. ... ok
test_zero_mask_get_rect (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_get_rect)
Ensures get_rect correctly handles zero sized masks. ... ok
test_zero_mask_get_size (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_get_size)
Ensures get_size correctly handles zero sized masks. ... ok
test_zero_mask_outline (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_outline)
Ensures outline correctly handles zero sized masks. ... ok
test_zero_mask_outline__with_arg (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_outline__with_arg)
Ensures outline correctly handles zero sized masks ... ok
test_zero_mask_overlap (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_overlap)
Ensures overlap correctly handles zero sized masks. ... ok
test_zero_mask_overlap_area (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_overlap_area)
Ensures overlap_area correctly handles zero sized masks. ... ok
test_zero_mask_overlap_mask (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_overlap_mask)
Ensures overlap_mask correctly handles zero sized masks. ... ok
test_zero_mask_scale (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_scale) ... ok
test_zero_mask_set_at (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_set_at)
Ensures set_at correctly handles zero sized masks. ... ok
test_zero_mask_to_surface (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_to_surface)
Ensures to_surface correctly handles zero sized masks and surfaces. ... ok
test_zero_mask_to_surface__create_surface (pygame.tests.mask_test.MaskTypeTest.test_zero_mask_to_surface__create_surface)
Ensures to_surface correctly handles zero sized masks and surfaces ... ok
----------------------------------------------------------------------
Ran 257 tests in 0.116s
OK (expected failures=12)
loading pygame.tests.math_test
test_clamp (pygame.tests.math_test.MathModuleTest.test_clamp)
Test clamp function. ... ok
test_lerp (pygame.tests.math_test.MathModuleTest.test_lerp) ... ok
testAdd (pygame.tests.math_test.Vector2TypeTest.testAdd) ... ok
testAttributeAccess (pygame.tests.math_test.Vector2TypeTest.testAttributeAccess) ... ok
testBool (pygame.tests.math_test.Vector2TypeTest.testBool) ... ok
testCompare (pygame.tests.math_test.Vector2TypeTest.testCompare) ... ok
testConstructionDefault (pygame.tests.math_test.Vector2TypeTest.testConstructionDefault) ... ok
testConstructionKeywords (pygame.tests.math_test.Vector2TypeTest.testConstructionKeywords) ... ok
testConstructionList (pygame.tests.math_test.Vector2TypeTest.testConstructionList) ... ok
testConstructionScalar (pygame.tests.math_test.Vector2TypeTest.testConstructionScalar) ... ok
testConstructionScalarKeywords (pygame.tests.math_test.Vector2TypeTest.testConstructionScalarKeywords) ... ok
testConstructionTuple (pygame.tests.math_test.Vector2TypeTest.testConstructionTuple) ... ok
testConstructionVector2 (pygame.tests.math_test.Vector2TypeTest.testConstructionVector2) ... ok
testConstructionXY (pygame.tests.math_test.Vector2TypeTest.testConstructionXY) ... ok
testCopy (pygame.tests.math_test.Vector2TypeTest.testCopy) ... ok
testExtendedSlicing (pygame.tests.math_test.Vector2TypeTest.testExtendedSlicing) ... ok
testIter (pygame.tests.math_test.Vector2TypeTest.testIter) ... ok
testRepr (pygame.tests.math_test.Vector2TypeTest.testRepr) ... ok
testScalarDivision (pygame.tests.math_test.Vector2TypeTest.testScalarDivision) ... ok
testScalarMultiplication (pygame.tests.math_test.Vector2TypeTest.testScalarMultiplication) ... ok
testSequence (pygame.tests.math_test.Vector2TypeTest.testSequence) ... ok
testStr (pygame.tests.math_test.Vector2TypeTest.testStr) ... ok
testSub (pygame.tests.math_test.Vector2TypeTest.testSub) ... ok
testUnary (pygame.tests.math_test.Vector2TypeTest.testUnary) ... ok
test___round___basic (pygame.tests.math_test.Vector2TypeTest.test___round___basic) ... ok
test_angle_to (pygame.tests.math_test.Vector2TypeTest.test_angle_to) ... ok
test_clamp_mag_v2_edge_cases (pygame.tests.math_test.Vector2TypeTest.test_clamp_mag_v2_edge_cases) ... ok
test_clamp_mag_v2_errors (pygame.tests.math_test.Vector2TypeTest.test_clamp_mag_v2_errors) ... ok
test_clamp_mag_v2_max (pygame.tests.math_test.Vector2TypeTest.test_clamp_mag_v2_max) ... ok
test_clamp_mag_v2_min (pygame.tests.math_test.Vector2TypeTest.test_clamp_mag_v2_min) ... ok
test_clamp_mag_v2_no_change (pygame.tests.math_test.Vector2TypeTest.test_clamp_mag_v2_no_change) ... ok
test_collection_abc (pygame.tests.math_test.Vector2TypeTest.test_collection_abc) ... ok
test_contains (pygame.tests.math_test.Vector2TypeTest.test_contains) ... ok
test_cross (pygame.tests.math_test.Vector2TypeTest.test_cross) ... ok
test_distance_squared_to (pygame.tests.math_test.Vector2TypeTest.test_distance_squared_to) ... ok
test_distance_to (pygame.tests.math_test.Vector2TypeTest.test_distance_to) ... ok
test_dot (pygame.tests.math_test.Vector2TypeTest.test_dot) ... ok
test_elementwise (pygame.tests.math_test.Vector2TypeTest.test_elementwise) ... ok
test_is_normalized (pygame.tests.math_test.Vector2TypeTest.test_is_normalized) ... ok
test_length (pygame.tests.math_test.Vector2TypeTest.test_length) ... ok
test_length_squared (pygame.tests.math_test.Vector2TypeTest.test_length_squared) ... ok
test_lerp (pygame.tests.math_test.Vector2TypeTest.test_lerp) ... ok
test_move_away (pygame.tests.math_test.Vector2TypeTest.test_move_away) ... ok
test_move_nowhere (pygame.tests.math_test.Vector2TypeTest.test_move_nowhere) ... ok
test_move_towards_basic (pygame.tests.math_test.Vector2TypeTest.test_move_towards_basic) ... ok
test_move_towards_errors (pygame.tests.math_test.Vector2TypeTest.test_move_towards_errors) ... ok
test_move_towards_max_distance (pygame.tests.math_test.Vector2TypeTest.test_move_towards_max_distance) ... ok
test_move_towards_self (pygame.tests.math_test.Vector2TypeTest.test_move_towards_self) ... ok
test_normalize (pygame.tests.math_test.Vector2TypeTest.test_normalize) ... ok
test_normalize_ip (pygame.tests.math_test.Vector2TypeTest.test_normalize_ip) ... ok
test_polar (pygame.tests.math_test.Vector2TypeTest.test_polar) ... ok
test_project_v2_onto_other (pygame.tests.math_test.Vector2TypeTest.test_project_v2_onto_other)
Project onto other vector. ... ok
test_project_v2_onto_other_as_list (pygame.tests.math_test.Vector2TypeTest.test_project_v2_onto_other_as_list)
Project onto other list as vector. ... ok
test_project_v2_onto_other_as_tuple (pygame.tests.math_test.Vector2TypeTest.test_project_v2_onto_other_as_tuple)
Project onto other tuple as vector. ... ok
test_project_v2_onto_x_axis (pygame.tests.math_test.Vector2TypeTest.test_project_v2_onto_x_axis)
Project onto x-axis, e.g. get the component pointing in the x-axis direction. ... ok
test_project_v2_onto_y_axis (pygame.tests.math_test.Vector2TypeTest.test_project_v2_onto_y_axis)
Project onto y-axis, e.g. get the component pointing in the y-axis direction. ... ok
test_project_v2_raises_if_other_has_zero_length (pygame.tests.math_test.Vector2TypeTest.test_project_v2_raises_if_other_has_zero_length)
Check if exception is raise when projected on vector has zero length. ... ok
test_project_v2_raises_if_other_is_not_iterable (pygame.tests.math_test.Vector2TypeTest.test_project_v2_raises_if_other_is_not_iterable)
Check if exception is raise when projected on vector is not iterable. ... ok
test_reflect (pygame.tests.math_test.Vector2TypeTest.test_reflect) ... ok
test_reflect_ip (pygame.tests.math_test.Vector2TypeTest.test_reflect_ip) ... ok
test_rotate (pygame.tests.math_test.Vector2TypeTest.test_rotate) ... ok
test_rotate_ip (pygame.tests.math_test.Vector2TypeTest.test_rotate_ip) ... ok
test_rotate_rad (pygame.tests.math_test.Vector2TypeTest.test_rotate_rad) ... ok
test_rotate_rad_ip (pygame.tests.math_test.Vector2TypeTest.test_rotate_rad_ip) ... ok
test_scale_to_length (pygame.tests.math_test.Vector2TypeTest.test_scale_to_length) ... ok
test_slerp (pygame.tests.math_test.Vector2TypeTest.test_slerp) ... ok
test_subclass_operation (pygame.tests.math_test.Vector2TypeTest.test_subclass_operation) ... ok
test_subclassing_v2 (pygame.tests.math_test.Vector2TypeTest.test_subclassing_v2)
Check if Vector2 is subclassable ... ok
test_swizzle (pygame.tests.math_test.Vector2TypeTest.test_swizzle) ... ok
test_swizzle_return_types (pygame.tests.math_test.Vector2TypeTest.test_swizzle_return_types) ... ok
test_update (pygame.tests.math_test.Vector2TypeTest.test_update) ... ok
testAdd (pygame.tests.math_test.Vector3TypeTest.testAdd) ... ok
testAttributeAccess (pygame.tests.math_test.Vector3TypeTest.testAttributeAccess) ... ok
testBool (pygame.tests.math_test.Vector3TypeTest.testBool) ... ok
testCompare (pygame.tests.math_test.Vector3TypeTest.testCompare) ... ok
testConstructionDefault (pygame.tests.math_test.Vector3TypeTest.testConstructionDefault) ... ok
testConstructionKeywords (pygame.tests.math_test.Vector3TypeTest.testConstructionKeywords) ... ok
testConstructionList (pygame.tests.math_test.Vector3TypeTest.testConstructionList) ... ok
testConstructionMissing (pygame.tests.math_test.Vector3TypeTest.testConstructionMissing) ... ok
testConstructionScalar (pygame.tests.math_test.Vector3TypeTest.testConstructionScalar) ... ok
testConstructionScalarKeywords (pygame.tests.math_test.Vector3TypeTest.testConstructionScalarKeywords) ... ok
testConstructionTuple (pygame.tests.math_test.Vector3TypeTest.testConstructionTuple) ... ok
testConstructionVector3 (pygame.tests.math_test.Vector3TypeTest.testConstructionVector3) ... ok
testConstructionXYZ (pygame.tests.math_test.Vector3TypeTest.testConstructionXYZ) ... ok
testCopy (pygame.tests.math_test.Vector3TypeTest.testCopy) ... ok
testExtendedSlicing (pygame.tests.math_test.Vector3TypeTest.testExtendedSlicing) ... ok
testIter (pygame.tests.math_test.Vector3TypeTest.testIter) ... ok
testRepr (pygame.tests.math_test.Vector3TypeTest.testRepr) ... ok
testScalarDivision (pygame.tests.math_test.Vector3TypeTest.testScalarDivision) ... ok
testScalarMultiplication (pygame.tests.math_test.Vector3TypeTest.testScalarMultiplication) ... ok
testSequence (pygame.tests.math_test.Vector3TypeTest.testSequence) ... ok
testStr (pygame.tests.math_test.Vector3TypeTest.testStr) ... ok
testSub (pygame.tests.math_test.Vector3TypeTest.testSub) ... ok
testUnary (pygame.tests.math_test.Vector3TypeTest.testUnary) ... ok
test___round___basic (pygame.tests.math_test.Vector3TypeTest.test___round___basic) ... ok
test_angle_to (pygame.tests.math_test.Vector3TypeTest.test_angle_to) ... ok
test_clamp_mag_v3_edge_cases (pygame.tests.math_test.Vector3TypeTest.test_clamp_mag_v3_edge_cases) ... ok
test_clamp_mag_v3_errors (pygame.tests.math_test.Vector3TypeTest.test_clamp_mag_v3_errors) ... ok
test_clamp_mag_v3_max (pygame.tests.math_test.Vector3TypeTest.test_clamp_mag_v3_max) ... ok
test_clamp_mag_v3_min (pygame.tests.math_test.Vector3TypeTest.test_clamp_mag_v3_min) ... ok
test_clamp_mag_v3_no_change (pygame.tests.math_test.Vector3TypeTest.test_clamp_mag_v3_no_change) ... ok
test_collection_abc (pygame.tests.math_test.Vector3TypeTest.test_collection_abc) ... ok
test_contains (pygame.tests.math_test.Vector3TypeTest.test_contains) ... ok
test_cross (pygame.tests.math_test.Vector3TypeTest.test_cross) ... ok
test_dir_works (pygame.tests.math_test.Vector3TypeTest.test_dir_works) ... ok
test_distance_squared_to (pygame.tests.math_test.Vector3TypeTest.test_distance_squared_to) ... ok
test_distance_squared_to_exceptions (pygame.tests.math_test.Vector3TypeTest.test_distance_squared_to_exceptions) ... ok
test_distance_to (pygame.tests.math_test.Vector3TypeTest.test_distance_to) ... ok
test_distance_to_exceptions (pygame.tests.math_test.Vector3TypeTest.test_distance_to_exceptions) ... ok
test_dot (pygame.tests.math_test.Vector3TypeTest.test_dot) ... ok
test_elementwise (pygame.tests.math_test.Vector3TypeTest.test_elementwise) ... ok
test_inplace_operators (pygame.tests.math_test.Vector3TypeTest.test_inplace_operators) ... ok
test_invalid_swizzle (pygame.tests.math_test.Vector3TypeTest.test_invalid_swizzle) ... ok
test_is_normalized (pygame.tests.math_test.Vector3TypeTest.test_is_normalized) ... ok
test_length (pygame.tests.math_test.Vector3TypeTest.test_length) ... ok
test_length_squared (pygame.tests.math_test.Vector3TypeTest.test_length_squared) ... ok
test_lerp (pygame.tests.math_test.Vector3TypeTest.test_lerp) ... ok
test_move_away (pygame.tests.math_test.Vector3TypeTest.test_move_away) ... ok
test_move_nowhere (pygame.tests.math_test.Vector3TypeTest.test_move_nowhere) ... ok
test_move_towards_basic (pygame.tests.math_test.Vector3TypeTest.test_move_towards_basic) ... ok
test_move_towards_errors (pygame.tests.math_test.Vector3TypeTest.test_move_towards_errors) ... ok
test_move_towards_max_distance (pygame.tests.math_test.Vector3TypeTest.test_move_towards_max_distance) ... ok
test_move_towards_self (pygame.tests.math_test.Vector3TypeTest.test_move_towards_self) ... ok
test_normalize (pygame.tests.math_test.Vector3TypeTest.test_normalize) ... ok
test_normalize_ip (pygame.tests.math_test.Vector3TypeTest.test_normalize_ip) ... ok
test_pickle (pygame.tests.math_test.Vector3TypeTest.test_pickle) ... ok
test_project_v3_onto_other (pygame.tests.math_test.Vector3TypeTest.test_project_v3_onto_other)
Project onto other vector. ... ok
test_project_v3_onto_other_as_list (pygame.tests.math_test.Vector3TypeTest.test_project_v3_onto_other_as_list)
Project onto other list as vector. ... ok
test_project_v3_onto_other_as_tuple (pygame.tests.math_test.Vector3TypeTest.test_project_v3_onto_other_as_tuple)
Project onto other tuple as vector. ... ok
test_project_v3_onto_x_axis (pygame.tests.math_test.Vector3TypeTest.test_project_v3_onto_x_axis)
Project onto x-axis, e.g. get the component pointing in the x-axis direction. ... ok
test_project_v3_onto_y_axis (pygame.tests.math_test.Vector3TypeTest.test_project_v3_onto_y_axis)
Project onto y-axis, e.g. get the component pointing in the y-axis direction. ... ok
test_project_v3_onto_z_axis (pygame.tests.math_test.Vector3TypeTest.test_project_v3_onto_z_axis)
Project onto z-axis, e.g. get the component pointing in the z-axis direction. ... ok
test_project_v3_raises_if_other_has_zero_length (pygame.tests.math_test.Vector3TypeTest.test_project_v3_raises_if_other_has_zero_length)
Check if exception is raise when projected on vector has zero length. ... ok
test_project_v3_raises_if_other_is_not_iterable (pygame.tests.math_test.Vector3TypeTest.test_project_v3_raises_if_other_is_not_iterable)
Check if exception is raise when projected on vector is not iterable. ... ok
test_reflect (pygame.tests.math_test.Vector3TypeTest.test_reflect) ... ok
test_reflect_ip (pygame.tests.math_test.Vector3TypeTest.test_reflect_ip) ... ok
test_rotate (pygame.tests.math_test.Vector3TypeTest.test_rotate) ... ok
test_rotate_ip (pygame.tests.math_test.Vector3TypeTest.test_rotate_ip) ... ok
test_rotate_rad (pygame.tests.math_test.Vector3TypeTest.test_rotate_rad) ... ok
test_rotate_rad_ip (pygame.tests.math_test.Vector3TypeTest.test_rotate_rad_ip) ... ok
test_rotate_x (pygame.tests.math_test.Vector3TypeTest.test_rotate_x) ... ok
test_rotate_x_ip (pygame.tests.math_test.Vector3TypeTest.test_rotate_x_ip) ... ok
test_rotate_x_rad (pygame.tests.math_test.Vector3TypeTest.test_rotate_x_rad) ... ok
test_rotate_x_rad_ip (pygame.tests.math_test.Vector3TypeTest.test_rotate_x_rad_ip) ... ok
test_rotate_y (pygame.tests.math_test.Vector3TypeTest.test_rotate_y) ... ok
test_rotate_y_ip (pygame.tests.math_test.Vector3TypeTest.test_rotate_y_ip) ... ok
test_rotate_y_rad (pygame.tests.math_test.Vector3TypeTest.test_rotate_y_rad) ... ok
test_rotate_y_rad_ip (pygame.tests.math_test.Vector3TypeTest.test_rotate_y_rad_ip) ... ok
test_rotate_z (pygame.tests.math_test.Vector3TypeTest.test_rotate_z) ... ok
test_rotate_z_ip (pygame.tests.math_test.Vector3TypeTest.test_rotate_z_ip) ... ok
test_rotate_z_rad (pygame.tests.math_test.Vector3TypeTest.test_rotate_z_rad) ... ok
test_rotate_z_rad_ip (pygame.tests.math_test.Vector3TypeTest.test_rotate_z_rad_ip) ... ok
test_scale_to_length (pygame.tests.math_test.Vector3TypeTest.test_scale_to_length) ... ok
test_slerp (pygame.tests.math_test.Vector3TypeTest.test_slerp) ... ok
test_spherical (pygame.tests.math_test.Vector3TypeTest.test_spherical) ... ok
test_subclass_operation (pygame.tests.math_test.Vector3TypeTest.test_subclass_operation) ... ok
test_subclassing_v3 (pygame.tests.math_test.Vector3TypeTest.test_subclassing_v3)
Check if Vector3 is subclassable ... ok
test_swizzle (pygame.tests.math_test.Vector3TypeTest.test_swizzle) ... ok
test_swizzle_constants (pygame.tests.math_test.Vector3TypeTest.test_swizzle_constants)
We can get constant values from a swizzle. ... ok
test_swizzle_four_constants (pygame.tests.math_test.Vector3TypeTest.test_swizzle_four_constants)
We can get 4 constant values from a swizzle. ... ok
test_swizzle_oob (pygame.tests.math_test.Vector3TypeTest.test_swizzle_oob)
An out-of-bounds swizzle raises an AttributeError. ... ok
test_swizzle_return_types (pygame.tests.math_test.Vector3TypeTest.test_swizzle_return_types) ... ok
test_swizzle_set_oob (pygame.tests.math_test.Vector3TypeTest.test_swizzle_set_oob)
An out-of-bounds swizzle set raises an AttributeError. ... ok
----------------------------------------------------------------------
Ran 163 tests in 0.003s
OK
loading pygame.tests.midi_test
test_MidiException (pygame.tests.midi_test.MidiModuleNonInteractiveTest.test_MidiException)
Ensures the MidiException is raised as expected. ... ok
test_conversions (pygame.tests.midi_test.MidiModuleNonInteractiveTest.test_conversions)
of frequencies to midi note numbers and ansi note names. ... ok
test_midiin (pygame.tests.midi_test.MidiModuleNonInteractiveTest.test_midiin)
Ensures the MIDIIN event id exists in the midi module. ... ok
test_midiout (pygame.tests.midi_test.MidiModuleNonInteractiveTest.test_midiout)
Ensures the MIDIOUT event id exists in the midi module. ... ok
test_midis2events (pygame.tests.midi_test.MidiModuleNonInteractiveTest.test_midis2events)
Ensures midi events are properly converted to pygame events. ... ok
test_midis2events__extra_event_data (pygame.tests.midi_test.MidiModuleNonInteractiveTest.test_midis2events__extra_event_data)
Ensures midi events with extra values are handled properly. ... ok
test_midis2events__extra_event_data_missing_timestamp (pygame.tests.midi_test.MidiModuleNonInteractiveTest.test_midis2events__extra_event_data_missing_timestamp)
Ensures midi events with extra data and no timestamps are handled ... ok
test_midis2events__missing_event_data (pygame.tests.midi_test.MidiModuleNonInteractiveTest.test_midis2events__missing_event_data)
Ensures midi events with missing values are handled properly. ... ok
----------------------------------------------------------------------
Ran 8 tests in 0.001s
OK
loading pygame.tests.mixer_music_test
setUpClass (pygame.tests.mixer_music_test.MixerMusicModuleTest) ... ERROR
======================================================================
ERROR: setUpClass (pygame.tests.mixer_music_test.MixerMusicModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_music_test.py", line 15, in setUpClass
pygame.mixer.init()
pygame.error: /dev/null is not a regular file
----------------------------------------------------------------------
Ran 0 tests in 0.000s
FAILED (errors=1)
loading pygame.tests.mixer_test
test_get_endevent (pygame.tests.mixer_test.ChannelEndEventTest.test_get_endevent)
Ensure Channel.get_endevent() returns the correct event type. ... ERROR
test_set_volume_with_one_argument (pygame.tests.mixer_test.ChannelSetVolumeTest.test_set_volume_with_one_argument) ... ERROR
test_set_volume_with_two_arguments (pygame.tests.mixer_test.ChannelSetVolumeTest.test_set_volume_with_two_arguments) ... ERROR
setUpClass (pygame.tests.mixer_test.ChannelTypeTest) ... ERROR
test_array_interface (pygame.tests.mixer_test.MixerModuleTest.test_array_interface) ... ERROR
test_array_keyword (pygame.tests.mixer_test.MixerModuleTest.test_array_keyword) ... skipped 'this test fails without real sound card'
test_fadeout (pygame.tests.mixer_test.MixerModuleTest.test_fadeout)
Ensure pygame.mixer.fadeout() stops playback after fading out the sound. ... ERROR
test_find_channel (pygame.tests.mixer_test.MixerModuleTest.test_find_channel) ... ERROR
test_get_init__returns_None_if_mixer_not_initialized (pygame.tests.mixer_test.MixerModuleTest.test_get_init__returns_None_if_mixer_not_initialized) ... ok
test_get_num_channels__defaults_eight_after_init (pygame.tests.mixer_test.MixerModuleTest.test_get_num_channels__defaults_eight_after_init) ... ERROR
test_get_sdl_mixer_version (pygame.tests.mixer_test.MixerModuleTest.test_get_sdl_mixer_version)
Ensures get_sdl_mixer_version works correctly with no args. ... ok
test_get_sdl_mixer_version__args (pygame.tests.mixer_test.MixerModuleTest.test_get_sdl_mixer_version__args)
Ensures get_sdl_mixer_version works correctly using args. ... ok
test_get_sdl_mixer_version__invalid_args_kwargs (pygame.tests.mixer_test.MixerModuleTest.test_get_sdl_mixer_version__invalid_args_kwargs)
Ensures get_sdl_mixer_version handles invalid args and kwargs. ... ok
test_get_sdl_mixer_version__kwargs (pygame.tests.mixer_test.MixerModuleTest.test_get_sdl_mixer_version__kwargs)
Ensures get_sdl_mixer_version works correctly using kwargs. ... ok
test_get_sdl_mixer_version__linked_equals_compiled (pygame.tests.mixer_test.MixerModuleTest.test_get_sdl_mixer_version__linked_equals_compiled)
Ensures get_sdl_mixer_version's linked/compiled versions are equal. ... ok
test_init__keyword_args (pygame.tests.mixer_test.MixerModuleTest.test_init__keyword_args) ... ERROR
test_init__zero_values (pygame.tests.mixer_test.MixerModuleTest.test_init__zero_values) ... ERROR
test_newbuf__one_channel (pygame.tests.mixer_test.MixerModuleTest.test_newbuf__one_channel) ... ERROR
test_newbuf__twho_channel (pygame.tests.mixer_test.MixerModuleTest.test_newbuf__twho_channel) ... ERROR
test_pause (pygame.tests.mixer_test.MixerModuleTest.test_pause)
Ensure pygame.mixer.pause() temporarily stops playback of all sound channels. ... expected failure
test_pre_init__keyword_args (pygame.tests.mixer_test.MixerModuleTest.test_pre_init__keyword_args) ... ERROR
test_pre_init__zero_values (pygame.tests.mixer_test.MixerModuleTest.test_pre_init__zero_values) ... ERROR
test_quit (pygame.tests.mixer_test.MixerModuleTest.test_quit)
get_num_channels() Should throw pygame.error if uninitialized ... ERROR
test_set_num_channels (pygame.tests.mixer_test.MixerModuleTest.test_set_num_channels) ... ERROR
test_set_reserved (pygame.tests.mixer_test.MixerModuleTest.test_set_reserved)
Ensure pygame.mixer.set_reserved() reserves the given number of channels. ... ERROR
test_sound_args (pygame.tests.mixer_test.MixerModuleTest.test_sound_args) ... ERROR
test_sound_unicode (pygame.tests.mixer_test.MixerModuleTest.test_sound_unicode)
test non-ASCII unicode path ... ERROR
test_stop (pygame.tests.mixer_test.MixerModuleTest.test_stop)
Stops playback of all active sound channels. ... ERROR
test_correct_subclassing (pygame.tests.mixer_test.SoundTypeTest.test_correct_subclassing) ... ERROR
test_get_length (pygame.tests.mixer_test.SoundTypeTest.test_get_length)
Tests if get_length returns a correct length. ... ERROR
test_get_num_channels (pygame.tests.mixer_test.SoundTypeTest.test_get_num_channels)
Tests if Sound.get_num_channels returns the correct number ... ERROR
test_get_raw (pygame.tests.mixer_test.SoundTypeTest.test_get_raw)
Ensure get_raw returns the correct bytestring. ... ERROR
test_get_volume (pygame.tests.mixer_test.SoundTypeTest.test_get_volume)
Ensure a sound's volume can be retrieved. ... ERROR
test_get_volume__while_playing (pygame.tests.mixer_test.SoundTypeTest.test_get_volume__while_playing)
Ensure a sound's volume can be retrieved while playing. ... ERROR
test_incorrect_subclassing (pygame.tests.mixer_test.SoundTypeTest.test_incorrect_subclassing) ... ERROR
test_samples_address (pygame.tests.mixer_test.SoundTypeTest.test_samples_address)
Test the _samples_address getter. ... ERROR
test_set_volume (pygame.tests.mixer_test.SoundTypeTest.test_set_volume)
Ensure a sound's volume can be set. ... ERROR
test_set_volume__while_playing (pygame.tests.mixer_test.SoundTypeTest.test_set_volume__while_playing)
Ensure a sound's volume can be set while playing. ... ERROR
test_sound (pygame.tests.mixer_test.SoundTypeTest.test_sound)
Ensure Sound() creation with a filename works. ... ERROR
test_sound__before_init (pygame.tests.mixer_test.SoundTypeTest.test_sound__before_init)
Ensure exception raised for Sound() creation with non-init mixer. ... ERROR
test_sound__from_file_object (pygame.tests.mixer_test.SoundTypeTest.test_sound__from_file_object)
Ensure Sound() creation with a file object works. ... ERROR
test_sound__from_pathlib (pygame.tests.mixer_test.SoundTypeTest.test_sound__from_pathlib)
Ensure Sound() creation with a pathlib.Path object works. ... ERROR
test_sound__from_sound_object (pygame.tests.mixer_test.SoundTypeTest.test_sound__from_sound_object)
Ensure Sound() creation with a Sound() object works. ... ERROR
test_sound__without_arg (pygame.tests.mixer_test.SoundTypeTest.test_sound__without_arg)
Ensure exception raised for Sound() creation with no argument. ... ERROR
test_stop (pygame.tests.mixer_test.SoundTypeTest.test_stop)
Ensure stop can be called while not playing a sound. ... ERROR
test_stop__while_playing (pygame.tests.mixer_test.SoundTypeTest.test_stop__while_playing)
Ensure stop stops a playing sound. ... ERROR
test_all_sounds_stopped (pygame.tests.mixer_test.TestGetBusy.test_all_sounds_stopped)
Test that get_busy returns False when all sounds are stopped. ... ERROR
test_all_sounds_stopped_with_fadeout (pygame.tests.mixer_test.TestGetBusy.test_all_sounds_stopped_with_fadeout)
Test that get_busy returns False when all sounds are stopped with ... ERROR
test_multiple_sounds_playing (pygame.tests.mixer_test.TestGetBusy.test_multiple_sounds_playing)
Test that get_busy returns True when multiple sounds are playing. ... ERROR
test_no_sound_playing (pygame.tests.mixer_test.TestGetBusy.test_no_sound_playing)
Test that get_busy returns False when no sound is playing. ... ERROR
test_one_sound_playing (pygame.tests.mixer_test.TestGetBusy.test_one_sound_playing)
Test that get_busy returns True when one sound is playing. ... ERROR
test_sound_fading_out (pygame.tests.mixer_test.TestGetBusy.test_sound_fading_out)
Tests that get_busy() returns True when a sound is fading out ... ERROR
test_fadeout_with_valid_time (pygame.tests.mixer_test.TestSoundFadeout.test_fadeout_with_valid_time)
Tests if fadeout stops sound playback after fading it out over the time argument in milliseconds. ... ERROR
test_play_indefinitely (pygame.tests.mixer_test.TestSoundPlay.test_play_indefinitely)
Test playing a sound indefinitely. ... ERROR
test_play_multiple_times (pygame.tests.mixer_test.TestSoundPlay.test_play_multiple_times)
Test playing a sound multiple times. ... ERROR
test_play_once (pygame.tests.mixer_test.TestSoundPlay.test_play_once)
Test playing a sound once. ... ERROR
test_play_with_fade_ms (pygame.tests.mixer_test.TestSoundPlay.test_play_with_fade_ms)
Test playing a sound with fade_ms. ... ERROR
test_play_with_invalid_fade_ms (pygame.tests.mixer_test.TestSoundPlay.test_play_with_invalid_fade_ms)
Test playing a sound with invalid fade_ms. ... ERROR
test_play_with_invalid_loops (pygame.tests.mixer_test.TestSoundPlay.test_play_with_invalid_loops)
Test playing a sound with invalid loops. ... ERROR
test_play_with_invalid_maxtime (pygame.tests.mixer_test.TestSoundPlay.test_play_with_invalid_maxtime)
Test playing a sound with invalid maxtime. ... ERROR
test_play_with_maxtime (pygame.tests.mixer_test.TestSoundPlay.test_play_with_maxtime)
Test playing a sound with maxtime. ... ERROR
======================================================================
ERROR: test_get_endevent (pygame.tests.mixer_test.ChannelEndEventTest.test_get_endevent)
Ensure Channel.get_endevent() returns the correct event type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 886, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_set_volume_with_one_argument (pygame.tests.mixer_test.ChannelSetVolumeTest.test_set_volume_with_one_argument)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 860, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_set_volume_with_two_arguments (pygame.tests.mixer_test.ChannelSetVolumeTest.test_set_volume_with_two_arguments)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 860, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: setUpClass (pygame.tests.mixer_test.ChannelTypeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 649, in setUpClass
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_array_interface (pygame.tests.mixer_test.MixerModuleTest.test_array_interface)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 332, in test_array_interface
mixer.init(22050, -16, 1, allowedchanges=0)
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_fadeout (pygame.tests.mixer_test.MixerModuleTest.test_fadeout)
Ensure pygame.mixer.fadeout() stops playback after fading out the sound.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 472, in test_fadeout
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_find_channel (pygame.tests.mixer_test.MixerModuleTest.test_find_channel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 488, in test_find_channel
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_get_num_channels__defaults_eight_after_init (pygame.tests.mixer_test.MixerModuleTest.test_get_num_channels__defaults_eight_after_init)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 113, in test_get_num_channels__defaults_eight_after_init
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_init__keyword_args (pygame.tests.mixer_test.MixerModuleTest.test_init__keyword_args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 53, in test_init__keyword_args
mixer.init(**CONFIG)
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_init__zero_values (pygame.tests.mixer_test.MixerModuleTest.test_init__zero_values)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 87, in test_init__zero_values
mixer.init(0, 0, 0)
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_newbuf__one_channel (pygame.tests.mixer_test.MixerModuleTest.test_newbuf__one_channel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 348, in test_newbuf__one_channel
mixer.init(22050, -16, 1)
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_newbuf__twho_channel (pygame.tests.mixer_test.MixerModuleTest.test_newbuf__twho_channel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 354, in test_newbuf__twho_channel
mixer.init(22050, -16, 2)
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_pre_init__keyword_args (pygame.tests.mixer_test.MixerModuleTest.test_pre_init__keyword_args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 64, in test_pre_init__keyword_args
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_pre_init__zero_values (pygame.tests.mixer_test.MixerModuleTest.test_pre_init__zero_values)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 78, in test_pre_init__zero_values
mixer.init(allowedchanges=0)
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_quit (pygame.tests.mixer_test.MixerModuleTest.test_quit)
get_num_channels() Should throw pygame.error if uninitialized
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 127, in test_quit
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_set_num_channels (pygame.tests.mixer_test.MixerModuleTest.test_set_num_channels)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 117, in test_set_num_channels
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_set_reserved (pygame.tests.mixer_test.MixerModuleTest.test_set_reserved)
Ensure pygame.mixer.set_reserved() reserves the given number of channels.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 547, in test_set_reserved
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound_args (pygame.tests.mixer_test.MixerModuleTest.test_sound_args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 138, in test_sound_args
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound_unicode (pygame.tests.mixer_test.MixerModuleTest.test_sound_unicode)
test non-ASCII unicode path
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 213, in test_sound_unicode
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_stop (pygame.tests.mixer_test.MixerModuleTest.test_stop)
Stops playback of all active sound channels.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 572, in test_stop
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_correct_subclassing (pygame.tests.mixer_test.SoundTypeTest.test_correct_subclassing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_get_length (pygame.tests.mixer_test.SoundTypeTest.test_get_length)
Tests if get_length returns a correct length.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_get_num_channels (pygame.tests.mixer_test.SoundTypeTest.test_get_num_channels)
Tests if Sound.get_num_channels returns the correct number
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_get_raw (pygame.tests.mixer_test.SoundTypeTest.test_get_raw)
Ensure get_raw returns the correct bytestring.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_get_volume (pygame.tests.mixer_test.SoundTypeTest.test_get_volume)
Ensure a sound's volume can be retrieved.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_get_volume__while_playing (pygame.tests.mixer_test.SoundTypeTest.test_get_volume__while_playing)
Ensure a sound's volume can be retrieved while playing.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_incorrect_subclassing (pygame.tests.mixer_test.SoundTypeTest.test_incorrect_subclassing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_samples_address (pygame.tests.mixer_test.SoundTypeTest.test_samples_address)
Test the _samples_address getter.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_set_volume (pygame.tests.mixer_test.SoundTypeTest.test_set_volume)
Ensure a sound's volume can be set.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_set_volume__while_playing (pygame.tests.mixer_test.SoundTypeTest.test_set_volume__while_playing)
Ensure a sound's volume can be set while playing.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound (pygame.tests.mixer_test.SoundTypeTest.test_sound)
Ensure Sound() creation with a filename works.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound__before_init (pygame.tests.mixer_test.SoundTypeTest.test_sound__before_init)
Ensure exception raised for Sound() creation with non-init mixer.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound__from_file_object (pygame.tests.mixer_test.SoundTypeTest.test_sound__from_file_object)
Ensure Sound() creation with a file object works.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound__from_pathlib (pygame.tests.mixer_test.SoundTypeTest.test_sound__from_pathlib)
Ensure Sound() creation with a pathlib.Path object works.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound__from_sound_object (pygame.tests.mixer_test.SoundTypeTest.test_sound__from_sound_object)
Ensure Sound() creation with a Sound() object works.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound__without_arg (pygame.tests.mixer_test.SoundTypeTest.test_sound__without_arg)
Ensure exception raised for Sound() creation with no argument.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_stop (pygame.tests.mixer_test.SoundTypeTest.test_stop)
Ensure stop can be called while not playing a sound.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_stop__while_playing (pygame.tests.mixer_test.SoundTypeTest.test_stop__while_playing)
Ensure stop stops a playing sound.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1018, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_all_sounds_stopped (pygame.tests.mixer_test.TestGetBusy.test_all_sounds_stopped)
Test that get_busy returns False when all sounds are stopped.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1364, in setUp
pygame.mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_all_sounds_stopped_with_fadeout (pygame.tests.mixer_test.TestGetBusy.test_all_sounds_stopped_with_fadeout)
Test that get_busy returns False when all sounds are stopped with
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1364, in setUp
pygame.mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_multiple_sounds_playing (pygame.tests.mixer_test.TestGetBusy.test_multiple_sounds_playing)
Test that get_busy returns True when multiple sounds are playing.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1364, in setUp
pygame.mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_no_sound_playing (pygame.tests.mixer_test.TestGetBusy.test_no_sound_playing)
Test that get_busy returns False when no sound is playing.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1364, in setUp
pygame.mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_one_sound_playing (pygame.tests.mixer_test.TestGetBusy.test_one_sound_playing)
Test that get_busy returns True when one sound is playing.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1364, in setUp
pygame.mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_sound_fading_out (pygame.tests.mixer_test.TestGetBusy.test_sound_fading_out)
Tests that get_busy() returns True when a sound is fading out
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1364, in setUp
pygame.mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_fadeout_with_valid_time (pygame.tests.mixer_test.TestSoundFadeout.test_fadeout_with_valid_time)
Tests if fadeout stops sound playback after fading it out over the time argument in milliseconds.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 1314, in setUp
pygame.mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_play_indefinitely (pygame.tests.mixer_test.TestSoundPlay.test_play_indefinitely)
Test playing a sound indefinitely.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 919, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_play_multiple_times (pygame.tests.mixer_test.TestSoundPlay.test_play_multiple_times)
Test playing a sound multiple times.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 919, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_play_once (pygame.tests.mixer_test.TestSoundPlay.test_play_once)
Test playing a sound once.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 919, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_play_with_fade_ms (pygame.tests.mixer_test.TestSoundPlay.test_play_with_fade_ms)
Test playing a sound with fade_ms.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 919, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_play_with_invalid_fade_ms (pygame.tests.mixer_test.TestSoundPlay.test_play_with_invalid_fade_ms)
Test playing a sound with invalid fade_ms.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 919, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_play_with_invalid_loops (pygame.tests.mixer_test.TestSoundPlay.test_play_with_invalid_loops)
Test playing a sound with invalid loops.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 919, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_play_with_invalid_maxtime (pygame.tests.mixer_test.TestSoundPlay.test_play_with_invalid_maxtime)
Test playing a sound with invalid maxtime.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 919, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
======================================================================
ERROR: test_play_with_maxtime (pygame.tests.mixer_test.TestSoundPlay.test_play_with_maxtime)
Test playing a sound with maxtime.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/mixer_test.py", line 919, in setUp
mixer.init()
pygame.error: /dev/null is not a regular file
----------------------------------------------------------------------
Ran 60 tests in 0.005s
FAILED (errors=53, skipped=1, expected failures=1)
loading pygame.tests.mouse_test
test_get_cursor (pygame.tests.mouse_test.MouseModuleTest.test_get_cursor)
Ensures get_cursor works correctly. ... skipped 'Cursors not supported on headless test machines'
test_get_focused (pygame.tests.mouse_test.MouseModuleTest.test_get_focused)
Ensures get_focused returns the correct type. ... ok
test_get_pos (pygame.tests.mouse_test.MouseModuleTest.test_get_pos)
Ensures get_pos returns the correct types. ... ok
test_get_pressed (pygame.tests.mouse_test.MouseModuleTest.test_get_pressed)
Ensures get_pressed returns the correct types. ... ok
test_get_rel (pygame.tests.mouse_test.MouseModuleTest.test_get_rel)
Ensures get_rel returns the correct types. ... ok
test_get_visible (pygame.tests.mouse_test.MouseModuleTest.test_get_visible)
Ensures get_visible works correctly. ... ok
test_set_cursor (pygame.tests.mouse_test.MouseModuleTest.test_set_cursor)
Ensures set_cursor works correctly. ... skipped 'Cursors not supported on headless test machines'
test_set_pos__invalid_pos (pygame.tests.mouse_test.MouseModuleTest.test_set_pos__invalid_pos)
Ensures set_pos handles invalid positions correctly. ... ok
test_set_system_cursor (pygame.tests.mouse_test.MouseModuleTest.test_set_system_cursor)
Ensures set_system_cursor works correctly. ... skipped 'mouse.set_system_cursor only available in SDL2'
test_set_visible (pygame.tests.mouse_test.MouseModuleTest.test_set_visible)
Ensures set_visible returns the correct values. ... ok
test_set_visible__invalid_value (pygame.tests.mouse_test.MouseModuleTest.test_set_visible__invalid_value)
Ensures set_visible handles invalid positions correctly. ... ok
----------------------------------------------------------------------
Ran 11 tests in 0.000s
OK (skipped=3)
loading pygame.tests.pixelarray_test
test_basic (pygame.tests.pixelarray_test.PixelArrayArrayInterfaceTest.test_basic) ... ok
test_flags (pygame.tests.pixelarray_test.PixelArrayArrayInterfaceTest.test_flags) ... ok
test_itemsize (pygame.tests.pixelarray_test.PixelArrayArrayInterfaceTest.test_itemsize) ... ok
test_shape (pygame.tests.pixelarray_test.PixelArrayArrayInterfaceTest.test_shape) ... ok
test_slicing (pygame.tests.pixelarray_test.PixelArrayArrayInterfaceTest.test_slicing) ... ok
test_newbuf_1D (pygame.tests.pixelarray_test.PixelArrayNewBufferTest.test_newbuf_1D) ... ok
test_newbuf_2D (pygame.tests.pixelarray_test.PixelArrayNewBufferTest.test_newbuf_2D) ... ok
test_2dslice_assignment (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_2dslice_assignment) ... ok
test_array_properties (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_array_properties) ... ok
test_as_class (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_as_class) ... ok
test_ass_subscript (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_ass_subscript) ... ok
test_assign_size_mismatch (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_assign_size_mismatch) ... ok
test_close (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_close)
does not crash when it is deleted. ... ok
test_close_raises (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_close_raises)
when you try to do an operation after it is closed. ... ok
test_color_value (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_color_value) ... ok
test_compare (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_compare) ... ok
test_compare__different_colors_not_within_distance (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_compare__different_colors_not_within_distance)
Ensures compare works correctly with different colored surfaces ... ok
test_compare__different_colors_within_distance (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_compare__different_colors_within_distance)
Ensures compare works correctly with different colored surfaces ... ok
test_compare__same_colors_within_distance (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_compare__same_colors_within_distance)
Ensures compare works correctly with same colored surfaces. ... ok
test_contains (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_contains) ... ok
test_context_manager (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_context_manager)
closes properly. ... ok
test_extract (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_extract) ... ok
test_get_column (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_get_column) ... ok
test_get_pixel (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_get_pixel) ... ok
test_get_slice (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_get_slice) ... ok
test_get_surface (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_get_surface) ... ok
test_get_surface__subclassed_surface (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_get_surface__subclassed_surface)
Ensure the surface attribute can handle subclassed surfaces. ... ok
test_iter (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_iter) ... ok
test_length_1_dimension_broadcast (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_length_1_dimension_broadcast) ... ok
test_make_surface (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_make_surface) ... ok
test_make_surface__subclassed_surface (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_make_surface__subclassed_surface)
Ensure make_surface can handle subclassed surfaces. ... ok
test_pixel_array (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_pixel_array) ... ok
test_pixelarray__subclassed_surface (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_pixelarray__subclassed_surface)
Ensure the PixelArray constructor accepts subclassed surfaces. ... ok
test_pixels_field (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_pixels_field) ... ok
test_replace (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_replace) ... ok
test_repr (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_repr) ... ok
test_self_assign (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_self_assign) ... ok
test_set_column (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_set_column) ... ok
test_set_pixel (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_set_pixel) ... ok
test_set_slice (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_set_slice) ... ok
test_subscript (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_subscript) ... ok
test_transpose (pygame.tests.pixelarray_test.PixelArrayTypeTest.test_transpose) ... ok
----------------------------------------------------------------------
Ran 42 tests in 0.020s
OK
loading pygame.tests.pixelcopy_test
test_array_to_surface_newbuf (pygame.tests.pixelcopy_test.PixelCopyTestWithArrayNewBuf.test_array_to_surface_newbuf) ... ok
test_format_newbuf (pygame.tests.pixelcopy_test.PixelCopyTestWithArrayNewBuf.test_format_newbuf) ... ok
test_make_surface_newbuf (pygame.tests.pixelcopy_test.PixelCopyTestWithArrayNewBuf.test_make_surface_newbuf) ... ok
test_map_array_newbuf (pygame.tests.pixelcopy_test.PixelCopyTestWithArrayNewBuf.test_map_array_newbuf) ... ok
test_surface_to_array_newbuf (pygame.tests.pixelcopy_test.PixelCopyTestWithArrayNewBuf.test_surface_to_array_newbuf) ... ok
test_array_to_surface_broadcasting (pygame.tests.pixelcopy_test.PixelcopyModuleTest.test_array_to_surface_broadcasting) ... ok
test_map_array (pygame.tests.pixelcopy_test.PixelcopyModuleTest.test_map_array) ... ok
test_surface_to_array_2d (pygame.tests.pixelcopy_test.PixelcopyModuleTest.test_surface_to_array_2d) ... ok
test_surface_to_array_3d (pygame.tests.pixelcopy_test.PixelcopyModuleTest.test_surface_to_array_3d) ... ok
----------------------------------------------------------------------
Ran 9 tests in 0.008s
OK
loading pygame.tests.rect_test
testCalculatedAttributes (pygame.tests.rect_test.RectTypeTest.testCalculatedAttributes) ... ok
testConstructionTopLeftSize (pygame.tests.rect_test.RectTypeTest.testConstructionTopLeftSize) ... ok
testConstructionXYWidthHeight (pygame.tests.rect_test.RectTypeTest.testConstructionXYWidthHeight) ... ok
testEquals (pygame.tests.rect_test.RectTypeTest.testEquals)
check to see how the rect uses __eq__ ... ok
test_ass_subscript (pygame.tests.rect_test.RectTypeTest.test_ass_subscript) ... ok
test_ass_subscript_deletion (pygame.tests.rect_test.RectTypeTest.test_ass_subscript_deletion) ... ok
test_bottom (pygame.tests.rect_test.RectTypeTest.test_bottom)
Changing the bottom attribute moves the rect and does not change ... ok
test_bottom__del (pygame.tests.rect_test.RectTypeTest.test_bottom__del)
Ensures the bottom attribute can't be deleted. ... ok
test_bottom__invalid_value (pygame.tests.rect_test.RectTypeTest.test_bottom__invalid_value)
Ensures the bottom attribute handles invalid values correctly. ... ok
test_bottomleft (pygame.tests.rect_test.RectTypeTest.test_bottomleft)
Changing the bottomleft attribute moves the rect and does not change ... ok
test_bottomleft__del (pygame.tests.rect_test.RectTypeTest.test_bottomleft__del)
Ensures the bottomleft attribute can't be deleted. ... ok
test_bottomleft__invalid_value (pygame.tests.rect_test.RectTypeTest.test_bottomleft__invalid_value)
Ensures the bottomleft attribute handles invalid values correctly. ... ok
test_bottomright (pygame.tests.rect_test.RectTypeTest.test_bottomright)
Changing the bottomright attribute moves the rect and does not change ... ok
test_bottomright__del (pygame.tests.rect_test.RectTypeTest.test_bottomright__del)
Ensures the bottomright attribute can't be deleted. ... ok
test_bottomright__invalid_value (pygame.tests.rect_test.RectTypeTest.test_bottomright__invalid_value)
Ensures the bottomright attribute handles invalid values correctly. ... ok
test_center (pygame.tests.rect_test.RectTypeTest.test_center)
Changing the center attribute moves the rect and does not change ... ok
test_center__del (pygame.tests.rect_test.RectTypeTest.test_center__del)
Ensures the center attribute can't be deleted. ... ok
test_center__invalid_value (pygame.tests.rect_test.RectTypeTest.test_center__invalid_value)
Ensures the center attribute handles invalid values correctly. ... ok
test_centerx (pygame.tests.rect_test.RectTypeTest.test_centerx)
Changing the centerx attribute moves the rect and does not change ... ok
test_centerx__del (pygame.tests.rect_test.RectTypeTest.test_centerx__del)
Ensures the centerx attribute can't be deleted. ... ok
test_centerx__invalid_value (pygame.tests.rect_test.RectTypeTest.test_centerx__invalid_value)
Ensures the centerx attribute handles invalid values correctly. ... ok
test_centery (pygame.tests.rect_test.RectTypeTest.test_centery)
Changing the centery attribute moves the rect and does not change ... ok
test_centery__del (pygame.tests.rect_test.RectTypeTest.test_centery__del)
Ensures the centery attribute can't be deleted. ... ok
test_centery__invalid_value (pygame.tests.rect_test.RectTypeTest.test_centery__invalid_value)
Ensures the centery attribute handles invalid values correctly. ... ok
test_clamp (pygame.tests.rect_test.RectTypeTest.test_clamp) ... ok
test_clamp_ip (pygame.tests.rect_test.RectTypeTest.test_clamp_ip) ... ok
test_clip (pygame.tests.rect_test.RectTypeTest.test_clip) ... ok
test_clipline (pygame.tests.rect_test.RectTypeTest.test_clipline)
Ensures clipline handles four int parameters. ... ok
test_clipline__both_endpoints_inside (pygame.tests.rect_test.RectTypeTest.test_clipline__both_endpoints_inside)
Ensures lines that overlap the rect are clipped. ... ok
test_clipline__both_endpoints_outside (pygame.tests.rect_test.RectTypeTest.test_clipline__both_endpoints_outside)
Ensures lines that overlap the rect are clipped. ... ok
test_clipline__edges (pygame.tests.rect_test.RectTypeTest.test_clipline__edges)
Ensures clipline properly clips line that are along the rect edges. ... ok
test_clipline__endpoints_inside_and_outside (pygame.tests.rect_test.RectTypeTest.test_clipline__endpoints_inside_and_outside)
Ensures lines that overlap the rect are clipped. ... ok
test_clipline__equal_endpoints_no_overlap (pygame.tests.rect_test.RectTypeTest.test_clipline__equal_endpoints_no_overlap)
Ensures clipline handles lines with both endpoints the same. ... ok
test_clipline__equal_endpoints_with_overlap (pygame.tests.rect_test.RectTypeTest.test_clipline__equal_endpoints_with_overlap)
Ensures clipline handles lines with both endpoints the same. ... ok
test_clipline__floats (pygame.tests.rect_test.RectTypeTest.test_clipline__floats)
Ensures clipline handles float parameters. ... ok
test_clipline__floats_kwargs (pygame.tests.rect_test.RectTypeTest.test_clipline__floats_kwargs)
Ensures clipline handles four float parameters. ... ok
test_clipline__invalid_line (pygame.tests.rect_test.RectTypeTest.test_clipline__invalid_line)
Ensures clipline handles invalid lines correctly. ... ok
test_clipline__kwarg_exceptions (pygame.tests.rect_test.RectTypeTest.test_clipline__kwarg_exceptions)
Ensure clipline handles incorrect keyword arguments ... ok
test_clipline__negative_size_rect (pygame.tests.rect_test.RectTypeTest.test_clipline__negative_size_rect)
Ensures clipline handles negative sized rects correctly. ... ok
test_clipline__no_overlap (pygame.tests.rect_test.RectTypeTest.test_clipline__no_overlap)
Ensures lines that do not overlap the rect are not clipped. ... ok
test_clipline__sequence_of_four_ints (pygame.tests.rect_test.RectTypeTest.test_clipline__sequence_of_four_ints)
Ensures clipline handles a sequence of four ints. ... ok
test_clipline__sequence_of_four_ints_kwargs (pygame.tests.rect_test.RectTypeTest.test_clipline__sequence_of_four_ints_kwargs)
Ensures clipline handles a sequence of four ints using kwargs. ... ok
test_clipline__sequence_of_two_sequences (pygame.tests.rect_test.RectTypeTest.test_clipline__sequence_of_two_sequences)
Ensures clipline handles a sequence of two sequences. ... ok
test_clipline__sequence_of_two_sequences_kwargs (pygame.tests.rect_test.RectTypeTest.test_clipline__sequence_of_two_sequences_kwargs)
Ensures clipline handles a sequence of two sequences using kwargs. ... ok
test_clipline__two_sequences (pygame.tests.rect_test.RectTypeTest.test_clipline__two_sequences)
Ensures clipline handles a sequence of two sequences. ... ok
test_clipline__two_sequences_kwarg (pygame.tests.rect_test.RectTypeTest.test_clipline__two_sequences_kwarg)
Ensures clipline handles a sequence of two sequences using kwargs. ... ok
test_clipline__zero_size_rect (pygame.tests.rect_test.RectTypeTest.test_clipline__zero_size_rect)
Ensures clipline handles zero sized rects correctly. ... ok
test_collection_abc (pygame.tests.rect_test.RectTypeTest.test_collection_abc) ... ok
test_collidedict (pygame.tests.rect_test.RectTypeTest.test_collidedict)
Ensures collidedict detects collisions. ... ok
test_collidedict__barely_touching (pygame.tests.rect_test.RectTypeTest.test_collidedict__barely_touching)
Ensures collidedict works correctly for rects that barely touch. ... ok
test_collidedict__invalid_dict_format (pygame.tests.rect_test.RectTypeTest.test_collidedict__invalid_dict_format)
Ensures collidedict correctly handles invalid dict parameters. ... ok
test_collidedict__invalid_dict_key_format (pygame.tests.rect_test.RectTypeTest.test_collidedict__invalid_dict_key_format)
Ensures collidedict correctly handles dicts with invalid keys. ... ok
test_collidedict__invalid_dict_value_format (pygame.tests.rect_test.RectTypeTest.test_collidedict__invalid_dict_value_format)
Ensures collidedict correctly handles dicts with invalid values. ... ok
test_collidedict__invalid_use_values_format (pygame.tests.rect_test.RectTypeTest.test_collidedict__invalid_use_values_format)
Ensures collidedict correctly handles invalid use_values parameters. ... ok
test_collidedict__kwargs (pygame.tests.rect_test.RectTypeTest.test_collidedict__kwargs)
Ensures collidedict detects collisions via keyword arguments. ... ok
test_collidedict__negative_sized_rects (pygame.tests.rect_test.RectTypeTest.test_collidedict__negative_sized_rects)
Ensures collidedict works correctly with negative sized rects. ... ok
test_collidedict__negative_sized_rects_as_args (pygame.tests.rect_test.RectTypeTest.test_collidedict__negative_sized_rects_as_args)
Ensures collidedict works correctly with negative sized rect args. ... ok
test_collidedict__no_collision (pygame.tests.rect_test.RectTypeTest.test_collidedict__no_collision)
Ensures collidedict returns None when no collisions. ... ok
test_collidedict__zero_sized_rects (pygame.tests.rect_test.RectTypeTest.test_collidedict__zero_sized_rects)
Ensures collidedict works correctly with zero sized rects. ... ok
test_collidedict__zero_sized_rects_as_args (pygame.tests.rect_test.RectTypeTest.test_collidedict__zero_sized_rects_as_args)
Ensures collidedict works correctly with zero sized rects as args. ... ok
test_collidedictall (pygame.tests.rect_test.RectTypeTest.test_collidedictall)
Ensures collidedictall detects collisions. ... ok
test_collidedictall__barely_touching (pygame.tests.rect_test.RectTypeTest.test_collidedictall__barely_touching)
Ensures collidedictall works correctly for rects that barely touch. ... ok
test_collidedictall__invalid_dict_format (pygame.tests.rect_test.RectTypeTest.test_collidedictall__invalid_dict_format)
Ensures collidedictall correctly handles invalid dict parameters. ... ok
test_collidedictall__invalid_dict_key_format (pygame.tests.rect_test.RectTypeTest.test_collidedictall__invalid_dict_key_format)
Ensures collidedictall correctly handles dicts with invalid keys. ... ok
test_collidedictall__invalid_dict_value_format (pygame.tests.rect_test.RectTypeTest.test_collidedictall__invalid_dict_value_format)
Ensures collidedictall correctly handles dicts with invalid values. ... ok
test_collidedictall__invalid_use_values_format (pygame.tests.rect_test.RectTypeTest.test_collidedictall__invalid_use_values_format)
Ensures collidedictall correctly handles invalid use_values ... ok
test_collidedictall__kwargs (pygame.tests.rect_test.RectTypeTest.test_collidedictall__kwargs)
Ensures collidedictall detects collisions via keyword arguments. ... ok
test_collidedictall__negative_sized_rects (pygame.tests.rect_test.RectTypeTest.test_collidedictall__negative_sized_rects)
Ensures collidedictall works correctly with negative sized rects. ... ok
test_collidedictall__negative_sized_rects_as_args (pygame.tests.rect_test.RectTypeTest.test_collidedictall__negative_sized_rects_as_args)
Ensures collidedictall works correctly with negative sized rect ... ok
test_collidedictall__no_collision (pygame.tests.rect_test.RectTypeTest.test_collidedictall__no_collision)
Ensures collidedictall returns an empty list when no collisions. ... ok
test_collidedictall__zero_sized_rects (pygame.tests.rect_test.RectTypeTest.test_collidedictall__zero_sized_rects)
Ensures collidedictall works correctly with zero sized rects. ... ok
test_collidedictall__zero_sized_rects_as_args (pygame.tests.rect_test.RectTypeTest.test_collidedictall__zero_sized_rects_as_args)
Ensures collidedictall works correctly with zero sized rects ... ok
test_collidelist (pygame.tests.rect_test.RectTypeTest.test_collidelist) ... ok
test_collidelist__kwargs (pygame.tests.rect_test.RectTypeTest.test_collidelist__kwargs) ... ok
test_collidelistall (pygame.tests.rect_test.RectTypeTest.test_collidelistall) ... ok
test_collidelistall__kwargs (pygame.tests.rect_test.RectTypeTest.test_collidelistall__kwargs) ... ok
test_collidelistall_list_of_lists (pygame.tests.rect_test.RectTypeTest.test_collidelistall_list_of_lists) ... ok
test_collidelistall_list_of_object_with_callable_rect_attribute (pygame.tests.rect_test.RectTypeTest.test_collidelistall_list_of_object_with_callable_rect_attribute) ... ok
test_collidelistall_list_of_object_with_callable_rect_returning_object_with_rect_attribute (pygame.tests.rect_test.RectTypeTest.test_collidelistall_list_of_object_with_callable_rect_returning_object_with_rect_attribute) ... ok
test_collidelistall_list_of_object_with_rect_attribute (pygame.tests.rect_test.RectTypeTest.test_collidelistall_list_of_object_with_rect_attribute) ... ok
test_collidelistall_list_of_object_with_rect_property (pygame.tests.rect_test.RectTypeTest.test_collidelistall_list_of_object_with_rect_property) ... ok
test_collidelistall_list_of_tuples (pygame.tests.rect_test.RectTypeTest.test_collidelistall_list_of_tuples) ... ok
test_collidelistall_list_of_two_tuples (pygame.tests.rect_test.RectTypeTest.test_collidelistall_list_of_two_tuples) ... ok
test_collidelistall_returns_empty_list (pygame.tests.rect_test.RectTypeTest.test_collidelistall_returns_empty_list) ... ok
test_collideobjects_call_variants (pygame.tests.rect_test.RectTypeTest.test_collideobjects_call_variants) ... ok
test_collideobjects_list_of_object_with_multiple_rect_attribute (pygame.tests.rect_test.RectTypeTest.test_collideobjects_list_of_object_with_multiple_rect_attribute) ... ok
test_collideobjects_without_key (pygame.tests.rect_test.RectTypeTest.test_collideobjects_without_key) ... ok
test_collideobjectsall (pygame.tests.rect_test.RectTypeTest.test_collideobjectsall) ... ok
test_collideobjectsall_call_variants (pygame.tests.rect_test.RectTypeTest.test_collideobjectsall_call_variants) ... ok
test_collideobjectsall_list_of_object_with_multiple_rect_attribute (pygame.tests.rect_test.RectTypeTest.test_collideobjectsall_list_of_object_with_multiple_rect_attribute) ... ok
test_collidepoint (pygame.tests.rect_test.RectTypeTest.test_collidepoint) ... ok
test_colliderect (pygame.tests.rect_test.RectTypeTest.test_colliderect) ... ok
test_contains (pygame.tests.rect_test.RectTypeTest.test_contains) ... ok
test_copy (pygame.tests.rect_test.RectTypeTest.test_copy) ... ok
test_fit (pygame.tests.rect_test.RectTypeTest.test_fit) ... ok
test_height (pygame.tests.rect_test.RectTypeTest.test_height)
Changing the height resizes the rect from the top-left corner ... ok
test_height__del (pygame.tests.rect_test.RectTypeTest.test_height__del)
Ensures the height attribute can't be deleted. ... ok
test_height__invalid_value (pygame.tests.rect_test.RectTypeTest.test_height__invalid_value)
Ensures the height attribute handles invalid values correctly. ... ok
test_inflate__larger (pygame.tests.rect_test.RectTypeTest.test_inflate__larger)
The inflate method inflates around the center of the rectangle ... ok
test_inflate__smaller (pygame.tests.rect_test.RectTypeTest.test_inflate__smaller)
The inflate method inflates around the center of the rectangle ... ok
test_inflate_ip__larger (pygame.tests.rect_test.RectTypeTest.test_inflate_ip__larger)
The inflate_ip method inflates around the center of the rectangle ... ok
test_inflate_ip__smaller (pygame.tests.rect_test.RectTypeTest.test_inflate_ip__smaller)
The inflate method inflates around the center of the rectangle ... ok
test_left (pygame.tests.rect_test.RectTypeTest.test_left)
Changing the left attribute moves the rect and does not change ... ok
test_left__del (pygame.tests.rect_test.RectTypeTest.test_left__del)
Ensures the left attribute can't be deleted. ... ok
test_left__invalid_value (pygame.tests.rect_test.RectTypeTest.test_left__invalid_value)
Ensures the left attribute handles invalid values correctly. ... ok
test_midbottom (pygame.tests.rect_test.RectTypeTest.test_midbottom)
Changing the midbottom attribute moves the rect and does not change ... ok
test_midbottom__del (pygame.tests.rect_test.RectTypeTest.test_midbottom__del)
Ensures the midbottom attribute can't be deleted. ... ok
test_midbottom__invalid_value (pygame.tests.rect_test.RectTypeTest.test_midbottom__invalid_value)
Ensures the midbottom attribute handles invalid values correctly. ... ok
test_midleft (pygame.tests.rect_test.RectTypeTest.test_midleft)
Changing the midleft attribute moves the rect and does not change ... ok
test_midleft__del (pygame.tests.rect_test.RectTypeTest.test_midleft__del)
Ensures the midleft attribute can't be deleted. ... ok
test_midleft__invalid_value (pygame.tests.rect_test.RectTypeTest.test_midleft__invalid_value)
Ensures the midleft attribute handles invalid values correctly. ... ok
test_midright (pygame.tests.rect_test.RectTypeTest.test_midright)
Changing the midright attribute moves the rect and does not change ... ok
test_midright__del (pygame.tests.rect_test.RectTypeTest.test_midright__del)
Ensures the midright attribute can't be deleted. ... ok
test_midright__invalid_value (pygame.tests.rect_test.RectTypeTest.test_midright__invalid_value)
Ensures the midright attribute handles invalid values correctly. ... ok
test_midtop (pygame.tests.rect_test.RectTypeTest.test_midtop)
Changing the midtop attribute moves the rect and does not change ... ok
test_midtop__del (pygame.tests.rect_test.RectTypeTest.test_midtop__del)
Ensures the midtop attribute can't be deleted. ... ok
test_midtop__invalid_value (pygame.tests.rect_test.RectTypeTest.test_midtop__invalid_value)
Ensures the midtop attribute handles invalid values correctly. ... ok
test_move (pygame.tests.rect_test.RectTypeTest.test_move) ... ok
test_move_ip (pygame.tests.rect_test.RectTypeTest.test_move_ip) ... ok
test_normalize (pygame.tests.rect_test.RectTypeTest.test_normalize)
Ensures normalize works when width and height are both negative. ... ok
test_normalize__non_negative (pygame.tests.rect_test.RectTypeTest.test_normalize__non_negative)
Ensures normalize works when width and height are both non-negative. ... ok
test_normalize__positive_height (pygame.tests.rect_test.RectTypeTest.test_normalize__positive_height)
Ensures normalize works with a negative width and a positive height. ... ok
test_normalize__positive_width (pygame.tests.rect_test.RectTypeTest.test_normalize__positive_width)
Ensures normalize works with a positive width and a negative height. ... ok
test_normalize__zero_height (pygame.tests.rect_test.RectTypeTest.test_normalize__zero_height)
Ensures normalize works with a negative width and a zero height. ... ok
test_normalize__zero_width (pygame.tests.rect_test.RectTypeTest.test_normalize__zero_width)
Ensures normalize works with a zero width and a negative height. ... ok
test_rect_iter (pygame.tests.rect_test.RectTypeTest.test_rect_iter) ... ok
test_right (pygame.tests.rect_test.RectTypeTest.test_right)
Changing the right attribute moves the rect and does not change ... ok
test_right__del (pygame.tests.rect_test.RectTypeTest.test_right__del)
Ensures the right attribute can't be deleted. ... ok
test_right__invalid_value (pygame.tests.rect_test.RectTypeTest.test_right__invalid_value)
Ensures the right attribute handles invalid values correctly. ... ok
test_scale_by__larger (pygame.tests.rect_test.RectTypeTest.test_scale_by__larger)
The scale method scales around the center of the rectangle ... ok
test_scale_by__larger_kwargs (pygame.tests.rect_test.RectTypeTest.test_scale_by__larger_kwargs)
The scale method scales around the center of the rectangle ... ok
test_scale_by__larger_kwargs_scale_by (pygame.tests.rect_test.RectTypeTest.test_scale_by__larger_kwargs_scale_by)
The scale method scales around the center of the rectangle ... ok
test_scale_by__larger_single_argument (pygame.tests.rect_test.RectTypeTest.test_scale_by__larger_single_argument)
The scale method scales around the center of the rectangle ... ok
test_scale_by__larger_single_argument_kwarg (pygame.tests.rect_test.RectTypeTest.test_scale_by__larger_single_argument_kwarg)
The scale method scales around the center of the rectangle using ... ok
test_scale_by__smaller (pygame.tests.rect_test.RectTypeTest.test_scale_by__smaller)
The scale method scales around the center of the rectangle ... ok
test_scale_by__smaller_single_argument (pygame.tests.rect_test.RectTypeTest.test_scale_by__smaller_single_argument)
The scale method scales around the center of the rectangle ... ok
test_scale_by__subzero (pygame.tests.rect_test.RectTypeTest.test_scale_by__subzero)
The scale method scales around the center of the rectangle ... ok
test_scale_by_identity (pygame.tests.rect_test.RectTypeTest.test_scale_by_identity)
The scale method scales around the center of the rectangle ... ok
test_scale_by_identity_single_argument (pygame.tests.rect_test.RectTypeTest.test_scale_by_identity_single_argument)
The scale method scales around the center of the rectangle ... ok
test_scale_by_ip__kwarg_exceptions (pygame.tests.rect_test.RectTypeTest.test_scale_by_ip__kwarg_exceptions)
The scale method scales around the center of the rectangle using ... ok
test_scale_by_ip__kwargs (pygame.tests.rect_test.RectTypeTest.test_scale_by_ip__kwargs)
The scale method scales around the center of the rectangle ... ok
test_scale_by_ip__larger (pygame.tests.rect_test.RectTypeTest.test_scale_by_ip__larger)
The scale method scales around the center of the rectangle ... ok
test_scale_by_ip__smaller (pygame.tests.rect_test.RectTypeTest.test_scale_by_ip__smaller)
The scale method scales around the center of the rectangle ... ok
test_scale_by_ip__subzero (pygame.tests.rect_test.RectTypeTest.test_scale_by_ip__subzero)
The scale method scales around the center of the rectangle ... ok
test_scale_by_negative_identity (pygame.tests.rect_test.RectTypeTest.test_scale_by_negative_identity)
The scale method scales around the center of the rectangle ... ok
test_scale_by_negative_identity_single_argment (pygame.tests.rect_test.RectTypeTest.test_scale_by_negative_identity_single_argment)
The scale method scales around the center of the rectangle ... ok
test_set_float_values (pygame.tests.rect_test.RectTypeTest.test_set_float_values) ... ok
test_set_out_of_range_number_raises_exception (pygame.tests.rect_test.RectTypeTest.test_set_out_of_range_number_raises_exception) ... ok
test_size (pygame.tests.rect_test.RectTypeTest.test_size)
Changing the size resizes the rect from the top-left corner ... ok
test_size__del (pygame.tests.rect_test.RectTypeTest.test_size__del)
Ensures the size attribute can't be deleted. ... ok
test_size__invalid_value (pygame.tests.rect_test.RectTypeTest.test_size__invalid_value)
Ensures the size attribute handles invalid values correctly. ... ok
test_subscript (pygame.tests.rect_test.RectTypeTest.test_subscript) ... ok
test_top (pygame.tests.rect_test.RectTypeTest.test_top)
Changing the top attribute moves the rect and does not change ... ok
test_top__del (pygame.tests.rect_test.RectTypeTest.test_top__del)
Ensures the top attribute can't be deleted. ... ok
test_top__invalid_value (pygame.tests.rect_test.RectTypeTest.test_top__invalid_value)
Ensures the top attribute handles invalid values correctly. ... ok
test_topleft (pygame.tests.rect_test.RectTypeTest.test_topleft)
Changing the topleft attribute moves the rect and does not change ... ok
test_topleft__del (pygame.tests.rect_test.RectTypeTest.test_topleft__del)
Ensures the topleft attribute can't be deleted. ... ok
test_topleft__invalid_value (pygame.tests.rect_test.RectTypeTest.test_topleft__invalid_value)
Ensures the topleft attribute handles invalid values correctly. ... ok
test_topright (pygame.tests.rect_test.RectTypeTest.test_topright)
Changing the topright attribute moves the rect and does not change ... ok
test_topright__del (pygame.tests.rect_test.RectTypeTest.test_topright__del)
Ensures the topright attribute can't be deleted. ... ok
test_topright__invalid_value (pygame.tests.rect_test.RectTypeTest.test_topright__invalid_value)
Ensures the topright attribute handles invalid values correctly. ... ok
test_union (pygame.tests.rect_test.RectTypeTest.test_union) ... ok
test_union__with_identical_Rect (pygame.tests.rect_test.RectTypeTest.test_union__with_identical_Rect) ... ok
test_union_ip (pygame.tests.rect_test.RectTypeTest.test_union_ip) ... ok
test_unionall (pygame.tests.rect_test.RectTypeTest.test_unionall) ... ok
test_unionall__invalid_rect_format (pygame.tests.rect_test.RectTypeTest.test_unionall__invalid_rect_format)
Ensures unionall correctly handles invalid rect parameters. ... ok
test_unionall__kwargs (pygame.tests.rect_test.RectTypeTest.test_unionall__kwargs) ... ok
test_unionall_ip (pygame.tests.rect_test.RectTypeTest.test_unionall_ip) ... ok
test_unionall_ip__kwargs (pygame.tests.rect_test.RectTypeTest.test_unionall_ip__kwargs) ... ok
test_update_XYWidthHeight (pygame.tests.rect_test.RectTypeTest.test_update_XYWidthHeight)
Test update with 4 int values(x, y, w, h) ... ok
test_update__List (pygame.tests.rect_test.RectTypeTest.test_update__List)
Test update with list ... ok
test_update__RectObject (pygame.tests.rect_test.RectTypeTest.test_update__RectObject)
Test update with other rect object ... ok
test_update__TopLeftSize (pygame.tests.rect_test.RectTypeTest.test_update__TopLeftSize)
Test update with 2 tuples((x, y), (w, h)) ... ok
test_width (pygame.tests.rect_test.RectTypeTest.test_width)
Changing the width resizes the rect from the top-left corner ... ok
test_width__del (pygame.tests.rect_test.RectTypeTest.test_width__del)
Ensures the width attribute can't be deleted. ... ok
test_width__invalid_value (pygame.tests.rect_test.RectTypeTest.test_width__invalid_value)
Ensures the width attribute handles invalid values correctly. ... ok
test_x (pygame.tests.rect_test.RectTypeTest.test_x)
Ensures changing the x attribute moves the rect and does not change ... ok
test_x__del (pygame.tests.rect_test.RectTypeTest.test_x__del)
Ensures the x attribute can't be deleted. ... ok
test_x__invalid_value (pygame.tests.rect_test.RectTypeTest.test_x__invalid_value)
Ensures the x attribute handles invalid values correctly. ... ok
test_y (pygame.tests.rect_test.RectTypeTest.test_y)
Ensures changing the y attribute moves the rect and does not change ... ok
test_y__del (pygame.tests.rect_test.RectTypeTest.test_y__del)
Ensures the y attribute can't be deleted. ... ok
test_y__invalid_value (pygame.tests.rect_test.RectTypeTest.test_y__invalid_value)
Ensures the y attribute handles invalid values correctly. ... ok
test_clamp (pygame.tests.rect_test.SubclassTest.test_clamp) ... ok
test_clip (pygame.tests.rect_test.SubclassTest.test_clip) ... ok
test_collection_abc (pygame.tests.rect_test.SubclassTest.test_collection_abc) ... ok
test_copy (pygame.tests.rect_test.SubclassTest.test_copy) ... ok
test_fit (pygame.tests.rect_test.SubclassTest.test_fit) ... ok
test_inflate (pygame.tests.rect_test.SubclassTest.test_inflate) ... ok
test_move (pygame.tests.rect_test.SubclassTest.test_move) ... ok
test_union (pygame.tests.rect_test.SubclassTest.test_union) ... ok
test_unionall (pygame.tests.rect_test.SubclassTest.test_unionall) ... ok
----------------------------------------------------------------------
Ran 191 tests in 0.012s
OK
loading pygame.tests.rwobject_test
test_encoding (pygame.tests.rwobject_test.RWopsEncodeFilePathTest.test_encoding) ... ok
test_error_fowarding (pygame.tests.rwobject_test.RWopsEncodeFilePathTest.test_error_fowarding) ... ok
test_etype (pygame.tests.rwobject_test.RWopsEncodeFilePathTest.test_etype) ... ok
test_etype__invalid (pygame.tests.rwobject_test.RWopsEncodeFilePathTest.test_etype__invalid)
Ensures invalid etypes are properly handled. ... ok
test_path_with_null_bytes (pygame.tests.rwobject_test.RWopsEncodeFilePathTest.test_path_with_null_bytes) ... ok
test_check_defaults (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_check_defaults) ... ok
test_encode_unicode (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_encode_unicode) ... ok
test_encoding_error (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_encoding_error) ... ok
test_error_fowarding (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_error_fowarding) ... ok
test_errors (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_errors) ... ok
test_etype (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_etype) ... ok
test_etype__invalid (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_etype__invalid)
Ensures invalid etypes are properly handled. ... ok
test_obj_None (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_obj_None) ... ok
test_obj_bytes (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_obj_bytes) ... ok
test_pathlib_obj (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_pathlib_obj)
Test loading string representation of pathlib object ... ok
test_refcount (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_refcount) ... ok
test_returns_bytes (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_returns_bytes) ... ok
test_smp (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_smp) ... ok
test_string_with_null_bytes (pygame.tests.rwobject_test.RWopsEncodeStringTest.test_string_with_null_bytes) ... ok
----------------------------------------------------------------------
Ran 19 tests in 0.000s
OK
loading pygame.tests.sprite_test
test_add (pygame.tests.sprite_test.AbstractGroupTypeTest.test_add) ... ok
test_add_internal (pygame.tests.sprite_test.AbstractGroupTypeTest.test_add_internal) ... ok
test_clear (pygame.tests.sprite_test.AbstractGroupTypeTest.test_clear) ... ok
test_draw (pygame.tests.sprite_test.AbstractGroupTypeTest.test_draw) ... ok
test_empty (pygame.tests.sprite_test.AbstractGroupTypeTest.test_empty) ... ok
test_has (pygame.tests.sprite_test.AbstractGroupTypeTest.test_has)
See if AbstractGroup.has() works as expected. ... ok
test_has_internal (pygame.tests.sprite_test.AbstractGroupTypeTest.test_has_internal) ... ok
test_remove (pygame.tests.sprite_test.AbstractGroupTypeTest.test_remove) ... ok
test_remove_internal (pygame.tests.sprite_test.AbstractGroupTypeTest.test_remove_internal) ... ok
test_sprites (pygame.tests.sprite_test.AbstractGroupTypeTest.test_sprites) ... ok
test_update (pygame.tests.sprite_test.AbstractGroupTypeTest.test_update) ... ok
test_update_with_kwargs (pygame.tests.sprite_test.AbstractGroupTypeTest.test_update_with_kwargs) ... ok
test___init____added_to_groups_passed (pygame.tests.sprite_test.DirtySpriteTypeTest.test___init____added_to_groups_passed) ... ok
test_add (pygame.tests.sprite_test.DirtySpriteTypeTest.test_add) ... ok
test_add_internal (pygame.tests.sprite_test.DirtySpriteTypeTest.test_add_internal) ... ok
test_alive (pygame.tests.sprite_test.DirtySpriteTypeTest.test_alive) ... ok
test_groups (pygame.tests.sprite_test.DirtySpriteTypeTest.test_groups) ... ok
test_kill (pygame.tests.sprite_test.DirtySpriteTypeTest.test_kill) ... ok
test_remove (pygame.tests.sprite_test.DirtySpriteTypeTest.test_remove) ... ok
test_remove_internal (pygame.tests.sprite_test.DirtySpriteTypeTest.test_remove_internal) ... ok
test_update (pygame.tests.sprite_test.DirtySpriteTypeTest.test_update) ... ok
test_update_with_kwargs (pygame.tests.sprite_test.DirtySpriteTypeTest.test_update_with_kwargs) ... ok
test___init____added_to_groups_passed (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test___init____added_to_groups_passed) ... ok
test_add (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_add) ... ok
test_add_internal (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_add_internal) ... ok
test_alive (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_alive) ... ok
test_groups (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_groups) ... ok
test_kill (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_kill) ... ok
test_remove (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_remove) ... ok
test_remove_internal (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_remove_internal) ... ok
test_update (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_update) ... ok
test_update_with_kwargs (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_update_with_kwargs) ... ok
test_weak_group_ref (pygame.tests.sprite_test.DirtyWeakSpriteTypeTest.test_weak_group_ref)
We create a list of groups, add them to the sprite. ... ok
test_add (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add) ... ok
test_add__adding_sprite_on_init (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__adding_sprite_on_init) ... ok
test_add__layers_are_correct (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__layers_are_correct) ... ok
test_add__overriding_sprite_layer_attr (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__overriding_sprite_layer_attr) ... ok
test_add__passing_layer_keyword (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__passing_layer_keyword) ... ok
test_add__sprite_init_layer_attr (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__sprite_init_layer_attr) ... ok
test_add__sprite_init_overiding_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__sprite_init_overiding_layer) ... ok
test_add__sprite_init_passing_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__sprite_init_passing_layer) ... ok
test_add__sprite_with_layer_attribute (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__sprite_with_layer_attribute) ... ok
test_add__spritelist (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__spritelist) ... ok
test_add__spritelist_init (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__spritelist_init) ... ok
test_add__spritelist_overriding_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__spritelist_overriding_layer) ... ok
test_add__spritelist_passing_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__spritelist_passing_layer) ... ok
test_add__spritelist_with_layer_attr (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_add__spritelist_with_layer_attr) ... ok
test_change_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_change_layer) ... ok
test_copy (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_copy) ... ok
test_get_bottom_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_get_bottom_layer) ... ok
test_get_layer_of_sprite (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_get_layer_of_sprite) ... ok
test_get_sprites_at (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_get_sprites_at) ... ok
test_get_sprites_from_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_get_sprites_from_layer) ... ok
test_get_top_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_get_top_layer) ... ok
test_get_top_sprite (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_get_top_sprite) ... ok
test_layers (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_layers) ... ok
test_move_to_back (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_move_to_back) ... ok
test_move_to_front (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_move_to_front) ... ok
test_nondirty_intersections_redrawn (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_nondirty_intersections_redrawn)
Ensure non-dirty sprites are correctly redrawn ... ok
test_nondirty_intersections_redrawn__with_source_rect (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_nondirty_intersections_redrawn__with_source_rect)
Ensure non-dirty sprites using source_rects are correctly redrawn ... ok
test_remove__sprite (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_remove__sprite) ... ok
test_repaint_rect (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_repaint_rect) ... ok
test_repaint_rect_with_clip (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_repaint_rect_with_clip) ... ok
test_sprites (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_sprites) ... ok
test_switch_layer (pygame.tests.sprite_test.LayeredDirtyTypeTest__DirtySprite.test_switch_layer) ... ok
test_add (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add) ... ok
test_add__adding_sprite_on_init (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__adding_sprite_on_init) ... ok
test_add__layers_are_correct (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__layers_are_correct) ... ok
test_add__overriding_sprite_layer_attr (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__overriding_sprite_layer_attr) ... ok
test_add__passing_layer_keyword (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__passing_layer_keyword) ... ok
test_add__sprite_init_layer_attr (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__sprite_init_layer_attr) ... ok
test_add__sprite_init_overiding_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__sprite_init_overiding_layer) ... ok
test_add__sprite_init_passing_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__sprite_init_passing_layer) ... ok
test_add__sprite_with_layer_attribute (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__sprite_with_layer_attribute) ... ok
test_add__spritelist (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__spritelist) ... ok
test_add__spritelist_init (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__spritelist_init) ... ok
test_add__spritelist_overriding_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__spritelist_overriding_layer) ... ok
test_add__spritelist_passing_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__spritelist_passing_layer) ... ok
test_add__spritelist_with_layer_attr (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_add__spritelist_with_layer_attr) ... ok
test_change_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_change_layer) ... ok
test_copy (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_copy) ... ok
test_get_bottom_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_get_bottom_layer) ... ok
test_get_layer_of_sprite (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_get_layer_of_sprite) ... ok
test_get_sprites_at (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_get_sprites_at) ... ok
test_get_sprites_from_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_get_sprites_from_layer) ... ok
test_get_top_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_get_top_layer) ... ok
test_get_top_sprite (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_get_top_sprite) ... ok
test_layers (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_layers) ... ok
test_move_to_back (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_move_to_back) ... ok
test_move_to_front (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_move_to_front) ... ok
test_remove__sprite (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_remove__sprite) ... ok
test_sprites (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_sprites) ... ok
test_switch_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__DirtySprite.test_switch_layer) ... ok
test_add (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add) ... ok
test_add__adding_sprite_on_init (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__adding_sprite_on_init) ... ok
test_add__layers_are_correct (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__layers_are_correct) ... ok
test_add__overriding_sprite_layer_attr (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__overriding_sprite_layer_attr) ... ok
test_add__passing_layer_keyword (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__passing_layer_keyword) ... ok
test_add__sprite_init_layer_attr (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__sprite_init_layer_attr) ... ok
test_add__sprite_init_overiding_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__sprite_init_overiding_layer) ... ok
test_add__sprite_init_passing_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__sprite_init_passing_layer) ... ok
test_add__sprite_with_layer_attribute (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__sprite_with_layer_attribute) ... ok
test_add__spritelist (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__spritelist) ... ok
test_add__spritelist_init (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__spritelist_init) ... ok
test_add__spritelist_overriding_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__spritelist_overriding_layer) ... ok
test_add__spritelist_passing_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__spritelist_passing_layer) ... ok
test_add__spritelist_with_layer_attr (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_add__spritelist_with_layer_attr) ... ok
test_change_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_change_layer) ... ok
test_copy (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_copy) ... ok
test_get_bottom_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_get_bottom_layer) ... ok
test_get_layer_of_sprite (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_get_layer_of_sprite) ... ok
test_get_sprites_at (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_get_sprites_at) ... ok
test_get_sprites_from_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_get_sprites_from_layer) ... ok
test_get_top_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_get_top_layer) ... ok
test_get_top_sprite (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_get_top_sprite) ... ok
test_layers (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_layers) ... ok
test_move_to_back (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_move_to_back) ... ok
test_move_to_front (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_move_to_front) ... ok
test_remove__sprite (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_remove__sprite) ... ok
test_sprites (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_sprites) ... ok
test_switch_layer (pygame.tests.sprite_test.LayeredUpdatesTypeTest__SpriteTest.test_switch_layer) ... ok
test_memoryleak_bug (pygame.tests.sprite_test.SingleGroupBugsTest.test_memoryleak_bug) ... ok
test_collide_circle__no_radius_set (pygame.tests.sprite_test.SpriteCollideTest.test_collide_circle__no_radius_set) ... ok
test_collide_circle__radius_set_by_collide_circle_ratio (pygame.tests.sprite_test.SpriteCollideTest.test_collide_circle__radius_set_by_collide_circle_ratio) ... ok
test_collide_circle__with_radii_set (pygame.tests.sprite_test.SpriteCollideTest.test_collide_circle__with_radii_set) ... ok
test_collide_circle_ratio__no_radius_and_ratio_of_one (pygame.tests.sprite_test.SpriteCollideTest.test_collide_circle_ratio__no_radius_and_ratio_of_one) ... ok
test_collide_circle_ratio__no_radius_and_ratio_of_twenty (pygame.tests.sprite_test.SpriteCollideTest.test_collide_circle_ratio__no_radius_and_ratio_of_twenty) ... ok
test_collide_circle_ratio__no_radius_and_ratio_of_two_twice (pygame.tests.sprite_test.SpriteCollideTest.test_collide_circle_ratio__no_radius_and_ratio_of_two_twice) ... ok
test_collide_circle_ratio__with_radii_set (pygame.tests.sprite_test.SpriteCollideTest.test_collide_circle_ratio__with_radii_set) ... ok
test_collide_mask__opaque (pygame.tests.sprite_test.SpriteCollideTest.test_collide_mask__opaque) ... ok
test_collide_mask__transparent (pygame.tests.sprite_test.SpriteCollideTest.test_collide_mask__transparent) ... ok
test_collide_rect (pygame.tests.sprite_test.SpriteCollideTest.test_collide_rect) ... ok
test_collide_rect_ratio__collides_all_at_ratio_of_twenty (pygame.tests.sprite_test.SpriteCollideTest.test_collide_rect_ratio__collides_all_at_ratio_of_twenty) ... ok
test_collide_rect_ratio__ratio_of_one_like_default (pygame.tests.sprite_test.SpriteCollideTest.test_collide_rect_ratio__ratio_of_one_like_default) ... ok
test_groupcollide__with_collided_callback (pygame.tests.sprite_test.SpriteCollideTest.test_groupcollide__with_collided_callback) ... ok
test_groupcollide__without_collided_callback (pygame.tests.sprite_test.SpriteCollideTest.test_groupcollide__without_collided_callback) ... ok
test_spritecollide__collided_defaults_to_collide_rect (pygame.tests.sprite_test.SpriteCollideTest.test_spritecollide__collided_defaults_to_collide_rect) ... ok
test_spritecollide__collided_must_be_a_callable (pygame.tests.sprite_test.SpriteCollideTest.test_spritecollide__collided_must_be_a_callable) ... ok
test_spritecollide__works_if_collided_cb_is_None (pygame.tests.sprite_test.SpriteCollideTest.test_spritecollide__works_if_collided_cb_is_None) ... ok
test_spritecollide__works_if_collided_cb_not_passed (pygame.tests.sprite_test.SpriteCollideTest.test_spritecollide__works_if_collided_cb_not_passed) ... ok
test_spritecollideany__with_collided_callback (pygame.tests.sprite_test.SpriteCollideTest.test_spritecollideany__with_collided_callback) ... ok
test_spritecollideany__without_collided_callback (pygame.tests.sprite_test.SpriteCollideTest.test_spritecollideany__without_collided_callback) ... ok
test___init____added_to_groups_passed (pygame.tests.sprite_test.SpriteTypeTest.test___init____added_to_groups_passed) ... ok
test_add (pygame.tests.sprite_test.SpriteTypeTest.test_add) ... ok
test_add_internal (pygame.tests.sprite_test.SpriteTypeTest.test_add_internal) ... ok
test_alive (pygame.tests.sprite_test.SpriteTypeTest.test_alive) ... ok
test_groups (pygame.tests.sprite_test.SpriteTypeTest.test_groups) ... ok
test_kill (pygame.tests.sprite_test.SpriteTypeTest.test_kill) ... ok
test_remove (pygame.tests.sprite_test.SpriteTypeTest.test_remove) ... ok
test_remove_internal (pygame.tests.sprite_test.SpriteTypeTest.test_remove_internal) ... ok
test_update (pygame.tests.sprite_test.SpriteTypeTest.test_update) ... ok
test_update_with_kwargs (pygame.tests.sprite_test.SpriteTypeTest.test_update_with_kwargs) ... ok
test___init____added_to_groups_passed (pygame.tests.sprite_test.WeakSpriteTypeTest.test___init____added_to_groups_passed) ... ok
test_add (pygame.tests.sprite_test.WeakSpriteTypeTest.test_add) ... ok
test_add_internal (pygame.tests.sprite_test.WeakSpriteTypeTest.test_add_internal) ... ok
test_alive (pygame.tests.sprite_test.WeakSpriteTypeTest.test_alive) ... ok
test_groups (pygame.tests.sprite_test.WeakSpriteTypeTest.test_groups) ... ok
test_kill (pygame.tests.sprite_test.WeakSpriteTypeTest.test_kill) ... ok
test_remove (pygame.tests.sprite_test.WeakSpriteTypeTest.test_remove) ... ok
test_remove_internal (pygame.tests.sprite_test.WeakSpriteTypeTest.test_remove_internal) ... ok
test_update (pygame.tests.sprite_test.WeakSpriteTypeTest.test_update) ... ok
test_update_with_kwargs (pygame.tests.sprite_test.WeakSpriteTypeTest.test_update_with_kwargs) ... ok
test_weak_group_ref (pygame.tests.sprite_test.WeakSpriteTypeTest.test_weak_group_ref)
We create a list of groups, add them to the sprite. ... ok
----------------------------------------------------------------------
Ran 163 tests in 0.015s
OK
loading pygame.tests.surface_test
test_convert__pixel_format_as_surface_subclass (pygame.tests.surface_test.GeneralSurfaceTests.test_convert__pixel_format_as_surface_subclass)
Ensure convert accepts a Surface subclass argument. ... ok
test_convert_alpha (pygame.tests.surface_test.GeneralSurfaceTests.test_convert_alpha)
Ensure the surface returned by surf.convert_alpha ... ok
test_convert_alpha_SRCALPHA (pygame.tests.surface_test.GeneralSurfaceTests.test_convert_alpha_SRCALPHA)
Ensure that the surface returned by surf.convert_alpha() ... ok
test_convert_alpha__pixel_format_as_surface_subclass (pygame.tests.surface_test.GeneralSurfaceTests.test_convert_alpha__pixel_format_as_surface_subclass)
Ensure convert_alpha accepts a Surface subclass argument. ... ok
test_convert_alpha_init (pygame.tests.surface_test.GeneralSurfaceTests.test_convert_alpha_init)
Ensure initialization exceptions are raised ... FAIL
test_convert_init (pygame.tests.surface_test.GeneralSurfaceTests.test_convert_init)
Ensure initialization exceptions are raised ... FAIL
test_get_abs_offset (pygame.tests.surface_test.GeneralSurfaceTests.test_get_abs_offset) ... ok
test_get_abs_parent (pygame.tests.surface_test.GeneralSurfaceTests.test_get_abs_parent) ... ok
test_get_at (pygame.tests.surface_test.GeneralSurfaceTests.test_get_at) ... ok
test_get_at_mapped (pygame.tests.surface_test.GeneralSurfaceTests.test_get_at_mapped) ... ok
test_get_bitsize (pygame.tests.surface_test.GeneralSurfaceTests.test_get_bitsize) ... ok
test_get_clip (pygame.tests.surface_test.GeneralSurfaceTests.test_get_clip) ... ok
test_get_colorkey (pygame.tests.surface_test.GeneralSurfaceTests.test_get_colorkey) ... ok
test_get_height (pygame.tests.surface_test.GeneralSurfaceTests.test_get_height) ... ok
test_get_locked (pygame.tests.surface_test.GeneralSurfaceTests.test_get_locked) ... ok
test_get_locks (pygame.tests.surface_test.GeneralSurfaceTests.test_get_locks) ... ok
test_get_losses (pygame.tests.surface_test.GeneralSurfaceTests.test_get_losses)
Ensure a surface's losses can be retrieved ... ok
test_get_masks__no_surface (pygame.tests.surface_test.GeneralSurfaceTests.test_get_masks__no_surface)
Ensure that after display.quit, calling get_masks raises pygame.error. ... ok
test_get_masks__rgb (pygame.tests.surface_test.GeneralSurfaceTests.test_get_masks__rgb)
Ensure that get_mask can return RGB mask. ... ok
test_get_masks__rgba (pygame.tests.surface_test.GeneralSurfaceTests.test_get_masks__rgba)
Ensure that get_mask can return RGBA mask. ... ok
test_get_offset (pygame.tests.surface_test.GeneralSurfaceTests.test_get_offset)
get_offset returns the (0,0) if surface is not a child ... ok
test_get_palette (pygame.tests.surface_test.GeneralSurfaceTests.test_get_palette) ... ok
test_get_palette_at (pygame.tests.surface_test.GeneralSurfaceTests.test_get_palette_at) ... ok
test_get_pitch (pygame.tests.surface_test.GeneralSurfaceTests.test_get_pitch) ... ok
test_get_shifts (pygame.tests.surface_test.GeneralSurfaceTests.test_get_shifts)
Tests whether Surface.get_shifts returns proper ... ok
test_get_size (pygame.tests.surface_test.GeneralSurfaceTests.test_get_size) ... ok
test_image_convert_bug_131 (pygame.tests.surface_test.GeneralSurfaceTests.test_image_convert_bug_131) ... skipped 'requires a non-"dummy" SDL_VIDEODRIVER'
test_lock (pygame.tests.surface_test.GeneralSurfaceTests.test_lock) ... ok
test_map_rgb (pygame.tests.surface_test.GeneralSurfaceTests.test_map_rgb) ... ok
test_mustlock (pygame.tests.surface_test.GeneralSurfaceTests.test_mustlock) ... ok
test_opaque_destination_blit_with_set_alpha (pygame.tests.surface_test.GeneralSurfaceTests.test_opaque_destination_blit_with_set_alpha) ... ok
test_palette_colorkey (pygame.tests.surface_test.GeneralSurfaceTests.test_palette_colorkey)
test bug discovered by robertpfeiffer ... ok
test_palette_colorkey_fill (pygame.tests.surface_test.GeneralSurfaceTests.test_palette_colorkey_fill) ... ok
test_palette_colorkey_set_px (pygame.tests.surface_test.GeneralSurfaceTests.test_palette_colorkey_set_px) ... ok
test_scroll (pygame.tests.surface_test.GeneralSurfaceTests.test_scroll) ... ok
test_sdl1_mimic_blitter_with_set_alpha (pygame.tests.surface_test.GeneralSurfaceTests.test_sdl1_mimic_blitter_with_set_alpha)
does the SDL 1 style blitter in pygame 2 work with set_alpha(), ... ok
test_set_alpha_none (pygame.tests.surface_test.GeneralSurfaceTests.test_set_alpha_none)
surf.set_alpha(None) disables blending ... ok
test_set_alpha_value (pygame.tests.surface_test.GeneralSurfaceTests.test_set_alpha_value)
surf.set_alpha(x), where x != None, enables blending ... ok
test_set_palette (pygame.tests.surface_test.GeneralSurfaceTests.test_set_palette) ... ok
test_set_palette__fail (pygame.tests.surface_test.GeneralSurfaceTests.test_set_palette__fail) ... ok
test_set_palette__set_at (pygame.tests.surface_test.GeneralSurfaceTests.test_set_palette__set_at) ... ok
test_set_palette_at (pygame.tests.surface_test.GeneralSurfaceTests.test_set_palette_at) ... ok
test_src_alpha_compatible (pygame.tests.surface_test.GeneralSurfaceTests.test_src_alpha_compatible)
"What pygame 1.9.x did". Is the alpha blitter as before? ... ok
test_src_alpha_compatible_16bit (pygame.tests.surface_test.GeneralSurfaceTests.test_src_alpha_compatible_16bit)
"What pygame 1.9.x did". Is the alpha blitter as before? ... ok
test_src_alpha_issue_1289 (pygame.tests.surface_test.GeneralSurfaceTests.test_src_alpha_issue_1289)
blit should be white. ... ok
test_src_alpha_sdl2_blitter (pygame.tests.surface_test.GeneralSurfaceTests.test_src_alpha_sdl2_blitter)
Checking that the BLEND_ALPHA_SDL2 flag works - this feature ... ok
test_subsurface (pygame.tests.surface_test.GeneralSurfaceTests.test_subsurface) ... ok
test_unlock (pygame.tests.surface_test.GeneralSurfaceTests.test_unlock) ... ok
test_unmap_rgb (pygame.tests.surface_test.GeneralSurfaceTests.test_unmap_rgb) ... ok
test_GET_PIXELVALS (pygame.tests.surface_test.SurfaceBlendTest.test_GET_PIXELVALS) ... ok
test_blit_blend (pygame.tests.surface_test.SurfaceBlendTest.test_blit_blend) ... ok
test_blit_blend_big_rect (pygame.tests.surface_test.SurfaceBlendTest.test_blit_blend_big_rect)
test that an oversized rect works ok. ... ok
test_blit_blend_premultiplied (pygame.tests.surface_test.SurfaceBlendTest.test_blit_blend_premultiplied) ... ok
test_blit_blend_rgba (pygame.tests.surface_test.SurfaceBlendTest.test_blit_blend_rgba) ... ok
test_fill_blend (pygame.tests.surface_test.SurfaceBlendTest.test_fill_blend) ... ok
test_fill_blend_rgba (pygame.tests.surface_test.SurfaceBlendTest.test_fill_blend_rgba) ... ok
test_surface_premul_alpha (pygame.tests.surface_test.SurfaceBlendTest.test_surface_premul_alpha)
Ensure that .premul_alpha() works correctly ... ok
test_fill (pygame.tests.surface_test.SurfaceFillTest.test_fill) ... ok
test_array_interface (pygame.tests.surface_test.SurfaceGetBufferTest.test_array_interface) ... ok
test_array_interface_alpha (pygame.tests.surface_test.SurfaceGetBufferTest.test_array_interface_alpha) ... ok
test_array_interface_masks (pygame.tests.surface_test.SurfaceGetBufferTest.test_array_interface_masks)
Test non-default color byte orders on 3D views ... ok
test_array_interface_rgb (pygame.tests.surface_test.SurfaceGetBufferTest.test_array_interface_rgb) ... ok
test_newbuf_PyBUF_flags_0D (pygame.tests.surface_test.SurfaceGetBufferTest.test_newbuf_PyBUF_flags_0D) ... ok
test_newbuf_PyBUF_flags_1D (pygame.tests.surface_test.SurfaceGetBufferTest.test_newbuf_PyBUF_flags_1D) ... ok
test_newbuf_PyBUF_flags_2D (pygame.tests.surface_test.SurfaceGetBufferTest.test_newbuf_PyBUF_flags_2D) ... ok
test_newbuf_PyBUF_flags_3D (pygame.tests.surface_test.SurfaceGetBufferTest.test_newbuf_PyBUF_flags_3D) ... ok
test_newbuf_PyBUF_flags_bytes (pygame.tests.surface_test.SurfaceGetBufferTest.test_newbuf_PyBUF_flags_bytes) ... ok
test_newbuf_PyBUF_flags_rgba (pygame.tests.surface_test.SurfaceGetBufferTest.test_newbuf_PyBUF_flags_rgba) ... ok
test_blanket_alpha (pygame.tests.surface_test.SurfaceSelfBlitTest.test_blanket_alpha) ... ok
test_blend (pygame.tests.surface_test.SurfaceSelfBlitTest.test_blend) ... ok
test_blend_rgba (pygame.tests.surface_test.SurfaceSelfBlitTest.test_blend_rgba) ... ok
test_colorkey (pygame.tests.surface_test.SurfaceSelfBlitTest.test_colorkey) ... ok
test_copy_alpha (pygame.tests.surface_test.SurfaceSelfBlitTest.test_copy_alpha)
issue 581: alpha of surface copy with SRCALPHA is set to 0. ... ok
test_overlap_check (pygame.tests.surface_test.SurfaceSelfBlitTest.test_overlap_check) ... ok
test_pixel_alpha (pygame.tests.surface_test.SurfaceSelfBlitTest.test_pixel_alpha) ... ok
test_subsurface (pygame.tests.surface_test.SurfaceSelfBlitTest.test_subsurface) ... ok
test_convert (pygame.tests.surface_test.SurfaceSubtypeTest.test_convert)
Ensure method convert() preserves the surface's class ... ok
test_convert_alpha (pygame.tests.surface_test.SurfaceSubtypeTest.test_convert_alpha)
Ensure method convert_alpha() preserves the surface's class ... ok
test_copy (pygame.tests.surface_test.SurfaceSubtypeTest.test_copy)
Ensure method copy() preserves the surface's class ... ok
test_subsurface (pygame.tests.surface_test.SurfaceSubtypeTest.test_subsurface)
Ensure method subsurface() preserves the surface's class ... ok
test_SRCALPHA (pygame.tests.surface_test.SurfaceTypeTest.test_SRCALPHA) ... ok
test_blit_big_rects (pygame.tests.surface_test.SurfaceTypeTest.test_blit_big_rects)
SDL2 can have more than 16 bits for x, y, width, height. ... ok
test_blit_keyword_args (pygame.tests.surface_test.SurfaceTypeTest.test_blit_keyword_args) ... ok
test_copy (pygame.tests.surface_test.SurfaceTypeTest.test_copy)
Ensure a surface can be copied. ... ok
test_copy_rle (pygame.tests.surface_test.SurfaceTypeTest.test_copy_rle)
Test copying a surface set to use run length encoding ... ok
test_fill (pygame.tests.surface_test.SurfaceTypeTest.test_fill)
Ensure a surface can be filled. ... ok
test_fill_keyword_args (pygame.tests.surface_test.SurfaceTypeTest.test_fill_keyword_args)
Ensure fill() accepts keyword arguments. ... ok
test_fill_negative_coordinates (pygame.tests.surface_test.SurfaceTypeTest.test_fill_negative_coordinates) ... ok
test_fill_rle (pygame.tests.surface_test.SurfaceTypeTest.test_fill_rle)
Test RLEACCEL flag with fill() ... ok
test_flags_default0_display (pygame.tests.surface_test.SurfaceTypeTest.test_flags_default0_display)
is set to zero, and SRCALPH is not set by default even when the display is initialized. ... ok
test_flags_default0_nodisplay (pygame.tests.surface_test.SurfaceTypeTest.test_flags_default0_nodisplay)
is set to zero, and SRCALPHA is not set by default with no display initialized. ... ok
test_get_alpha (pygame.tests.surface_test.SurfaceTypeTest.test_get_alpha)
Ensure a surface's alpha value can be retrieved. ... ok
test_get_bounding_rect (pygame.tests.surface_test.SurfaceTypeTest.test_get_bounding_rect) ... ok
test_get_buffer (pygame.tests.surface_test.SurfaceTypeTest.test_get_buffer) ... ok
test_get_buffer_oldbuf (pygame.tests.surface_test.SurfaceTypeTest.test_get_buffer_oldbuf) ... skipped 'old buffer not available'
test_get_bytesize (pygame.tests.surface_test.SurfaceTypeTest.test_get_bytesize)
Ensure a surface's bit and byte sizes can be retrieved. ... ok
test_get_flags (pygame.tests.surface_test.SurfaceTypeTest.test_get_flags)
Ensure a surface's flags can be retrieved. ... ok
test_get_flags__display_surf (pygame.tests.surface_test.SurfaceTypeTest.test_get_flags__display_surf) ... skipped 'requires a non-"dummy" SDL_VIDEODRIVER'
test_get_parent (pygame.tests.surface_test.SurfaceTypeTest.test_get_parent)
Ensure a surface's parent can be retrieved. ... ok
test_get_rect (pygame.tests.surface_test.SurfaceTypeTest.test_get_rect)
Ensure a surface's rect can be retrieved. ... ok
test_get_view (pygame.tests.surface_test.SurfaceTypeTest.test_get_view)
Ensure a buffer view of the surface's pixels can be retrieved. ... ok
test_get_view_oldbuf (pygame.tests.surface_test.SurfaceTypeTest.test_get_view_oldbuf) ... skipped 'old buffer not available'
test_get_width__size_and_height (pygame.tests.surface_test.SurfaceTypeTest.test_get_width__size_and_height)
Ensure a surface's size, width and height can be retrieved. ... ok
test_keyword_arguments (pygame.tests.surface_test.SurfaceTypeTest.test_keyword_arguments) ... ok
test_masks (pygame.tests.surface_test.SurfaceTypeTest.test_masks) ... ok
test_mustlock_rle (pygame.tests.surface_test.SurfaceTypeTest.test_mustlock_rle)
Test RLEACCEL flag with mustlock() ... ok
test_mustlock_surf_alpha_rle (pygame.tests.surface_test.SurfaceTypeTest.test_mustlock_surf_alpha_rle)
Test RLEACCEL flag with mustlock() on a surface ... ok
test_print (pygame.tests.surface_test.SurfaceTypeTest.test_print) ... ok
test_set_alpha__set_colorkey_rle (pygame.tests.surface_test.SurfaceTypeTest.test_set_alpha__set_colorkey_rle) ... ok
test_set_at (pygame.tests.surface_test.SurfaceTypeTest.test_set_at) ... ok
test_set_at__big_endian (pygame.tests.surface_test.SurfaceTypeTest.test_set_at__big_endian)
png files are loaded in big endian format (BGR rather than RGB) ... ok
test_set_clip (pygame.tests.surface_test.SurfaceTypeTest.test_set_clip)
see if surface.set_clip(None) works correctly. ... ok
test_set_colorkey (pygame.tests.surface_test.SurfaceTypeTest.test_set_colorkey) ... ok
test_set_masks (pygame.tests.surface_test.SurfaceTypeTest.test_set_masks) ... ok
test_set_shifts (pygame.tests.surface_test.SurfaceTypeTest.test_set_shifts) ... ok
test_solarwolf_rle_usage (pygame.tests.surface_test.SurfaceTypeTest.test_solarwolf_rle_usage)
Test for error/crash when calling set_colorkey() followed ... ok
test_solarwolf_rle_usage_2 (pygame.tests.surface_test.SurfaceTypeTest.test_solarwolf_rle_usage_2)
Test for RLE status after setting alpha ... ok
test_subsurface_rle (pygame.tests.surface_test.SurfaceTypeTest.test_subsurface_rle)
Ensure an RLE sub-surface works independently of its parent. ... ok
test_subsurface_rle2 (pygame.tests.surface_test.SurfaceTypeTest.test_subsurface_rle2)
Ensure an RLE sub-surface works independently of its parent. ... ok
test_surface__pixel_format_as_surface_subclass (pygame.tests.surface_test.SurfaceTypeTest.test_surface__pixel_format_as_surface_subclass)
Ensure a subclassed surface can be used for pixel format ... ok
test_surface_created_opaque_black (pygame.tests.surface_test.SurfaceTypeTest.test_surface_created_opaque_black) ... ok
test_blit__SRCALPHA32_to_8 (pygame.tests.surface_test.TestSurfaceBlit.test_blit__SRCALPHA32_to_8) ... ok
test_blit__SRCALPHA_opaque_source (pygame.tests.surface_test.TestSurfaceBlit.test_blit__SRCALPHA_opaque_source) ... ok
test_blit__SRCALPHA_to_SRCALPHA_non_zero (pygame.tests.surface_test.TestSurfaceBlit.test_blit__SRCALPHA_to_SRCALPHA_non_zero)
Tests blitting a nonzero alpha surface to another nonzero alpha surface ... ok
test_blit__blit_to_self (pygame.tests.surface_test.TestSurfaceBlit.test_blit__blit_to_self)
Test that blit operation works on self, alpha value is ... ok
test_blit_area_contraint (pygame.tests.surface_test.TestSurfaceBlit.test_blit_area_contraint)
Testing area constraint ... ok
test_blit_overflow_coord (pygame.tests.surface_test.TestSurfaceBlit.test_blit_overflow_coord)
Full coverage w/ overflow, specified with Coordinate ... ok
test_blit_overflow_nonorigin (pygame.tests.surface_test.TestSurfaceBlit.test_blit_overflow_nonorigin)
Test Rectangle Dest, with overflow but with starting rect with top-left at (1,1) ... ok
test_blit_overflow_rect (pygame.tests.surface_test.TestSurfaceBlit.test_blit_overflow_rect)
Full coverage w/ overflow, specified with a Rect ... ok
test_blit_zero_overlap (pygame.tests.surface_test.TestSurfaceBlit.test_blit_zero_overlap)
Testing zero-overlap condition. ... ok
======================================================================
FAIL: test_convert_alpha_init (pygame.tests.surface_test.GeneralSurfaceTests.test_convert_alpha_init)
Ensure initialization exceptions are raised
----------------------------------------------------------------------
pygame.error: Parameter 'surface' is invalid
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/surface_test.py", line 1131, in test_convert_alpha_init
self.assertRaisesRegex(pygame.error, "No video mode", surf.convert_alpha)
AssertionError: "No video mode" does not match "Parameter 'surface' is invalid"
======================================================================
FAIL: test_convert_init (pygame.tests.surface_test.GeneralSurfaceTests.test_convert_init)
Ensure initialization exceptions are raised
----------------------------------------------------------------------
pygame.error: Parameter 'surface' is invalid
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/surface_test.py", line 1111, in test_convert_init
self.assertRaisesRegex(pygame.error, "No video mode", surf.convert)
AssertionError: "No video mode" does not match "Parameter 'surface' is invalid"
----------------------------------------------------------------------
Ran 130 tests in 0.540s
FAILED (failures=2, skipped=4)
loading pygame.tests.surflock_test
test_buffer (pygame.tests.surflock_test.SurfaceLockTest.test_buffer) ... ok
test_lock (pygame.tests.surflock_test.SurfaceLockTest.test_lock) ... ok
test_pxarray_ref (pygame.tests.surflock_test.SurfaceLockTest.test_pxarray_ref) ... ok
test_subsurface_lock (pygame.tests.surflock_test.SurfaceLockTest.test_subsurface_lock) ... ok
----------------------------------------------------------------------
Ran 4 tests in 0.000s
OK
loading pygame.tests.sysfont_test
test_create_aliases (pygame.tests.sysfont_test.SysfontModuleTest.test_create_aliases) ... ok
test_initsysfonts (pygame.tests.sysfont_test.SysfontModuleTest.test_initsysfonts) ... ok
test_initsysfonts_darwin (pygame.tests.sysfont_test.SysfontModuleTest.test_initsysfonts_darwin) ... skipped 'Not mac we skip.'
test_initsysfonts_unix (pygame.tests.sysfont_test.SysfontModuleTest.test_initsysfonts_unix) ... ok
test_initsysfonts_win32 (pygame.tests.sysfont_test.SysfontModuleTest.test_initsysfonts_win32) ... skipped 'Not windows we skip.'
test_sysfont (pygame.tests.sysfont_test.SysfontModuleTest.test_sysfont) ... ok
----------------------------------------------------------------------
Ran 6 tests in 0.000s
OK (skipped=2)
loading pygame.tests.threads_test
test_FuncResult (pygame.tests.threads_test.ThreadsModuleTest.test_FuncResult)
Ensure FuncResult sets its result and exception attributes ... ok
test_benchmark_workers (pygame.tests.threads_test.ThreadsModuleTest.test_benchmark_workers)
Ensure benchmark_workers performance measure functions properly with both default and specified inputs ... ok
test_init (pygame.tests.threads_test.ThreadsModuleTest.test_init)
Ensure init() sets up the worker queue ... ok
test_quit (pygame.tests.threads_test.ThreadsModuleTest.test_quit)
Ensure quit() cleans up the worker queue ... ok
test_tmap (pygame.tests.threads_test.ThreadsModuleTest.test_tmap) ... ok
test_tmap__wait (pygame.tests.threads_test.ThreadsModuleTest.test_tmap__wait) ... ok
test_do (pygame.tests.threads_test.WorkerQueueTypeTest.test_do)
Tests function placement on queue and execution after blocking function completion. ... ok
test_stop (pygame.tests.threads_test.WorkerQueueTypeTest.test_stop)
Ensure stop() stops the worker queue ... ok
test_threadloop (pygame.tests.threads_test.WorkerQueueTypeTest.test_threadloop) ... ok
test_usage_with_different_functions (pygame.tests.threads_test.WorkerQueueTypeTest.test_usage_with_different_functions) ... ok
test_wait (pygame.tests.threads_test.WorkerQueueTypeTest.test_wait) ... ok
----------------------------------------------------------------------
Ran 11 tests in 0.588s
OK
loading pygame.tests.time_test
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
loading pygame.tests.touch_test
test_get_device (pygame.tests.touch_test.TouchTest.test_get_device) ... skipped 'no touch devices found'
test_get_device__invalid (pygame.tests.touch_test.TouchTest.test_get_device__invalid) ... ok
test_num_devices (pygame.tests.touch_test.TouchTest.test_num_devices) ... ok
test_num_fingers (pygame.tests.touch_test.TouchTest.test_num_fingers) ... skipped 'no touch devices found'
test_num_fingers__invalid (pygame.tests.touch_test.TouchTest.test_num_fingers__invalid) ... ok
----------------------------------------------------------------------
Ran 5 tests in 0.000s
OK (skipped=2)
loading pygame.tests.transform_test
test_flip (pygame.tests.transform_test.TransformDisplayModuleTest.test_flip)
honors the set_color key on the returned surface from flip. ... ok
test_flip_alpha (pygame.tests.transform_test.TransformDisplayModuleTest.test_flip_alpha)
returns a surface with the same properties as the input. ... ok
test_average_color (pygame.tests.transform_test.TransformModuleTest.test_average_color) ... ok
test_average_color_considering_alpha (pygame.tests.transform_test.TransformModuleTest.test_average_color_considering_alpha) ... ok
test_average_color_considering_alpha_all_pixels_opaque (pygame.tests.transform_test.TransformModuleTest.test_average_color_considering_alpha_all_pixels_opaque) ... ok
test_average_surfaces (pygame.tests.transform_test.TransformModuleTest.test_average_surfaces) ... ok
test_average_surfaces__24 (pygame.tests.transform_test.TransformModuleTest.test_average_surfaces__24) ... ok
test_average_surfaces__24_big_endian (pygame.tests.transform_test.TransformModuleTest.test_average_surfaces__24_big_endian) ... ok
test_average_surfaces__subclassed_destination_surface (pygame.tests.transform_test.TransformModuleTest.test_average_surfaces__subclassed_destination_surface)
Ensure average_surfaces accepts a destination subclassed surface. ... ok
test_average_surfaces__subclassed_surfaces (pygame.tests.transform_test.TransformModuleTest.test_average_surfaces__subclassed_surfaces)
Ensure average_surfaces accepts subclassed surfaces. ... ok
test_chop (pygame.tests.transform_test.TransformModuleTest.test_chop) ... ok
test_get_smoothscale_backend (pygame.tests.transform_test.TransformModuleTest.test_get_smoothscale_backend) ... ok
test_grayscale (pygame.tests.transform_test.TransformModuleTest.test_grayscale) ... ok
test_laplacian (pygame.tests.transform_test.TransformModuleTest.test_laplacian) ... ok
test_laplacian__24_big_endian (pygame.tests.transform_test.TransformModuleTest.test_laplacian__24_big_endian) ... ok
test_rotate (pygame.tests.transform_test.TransformModuleTest.test_rotate) ... ok
test_rotate__lossless_at_90_degrees (pygame.tests.transform_test.TransformModuleTest.test_rotate__lossless_at_90_degrees) ... ok
test_rotate_of_0_sized_surface (pygame.tests.transform_test.TransformModuleTest.test_rotate_of_0_sized_surface) ... ok
test_rotozoom (pygame.tests.transform_test.TransformModuleTest.test_rotozoom) ... ok
test_scale2x (pygame.tests.transform_test.TransformModuleTest.test_scale2x) ... ok
test_scale2xraw (pygame.tests.transform_test.TransformModuleTest.test_scale2xraw) ... ok
test_scale__alpha (pygame.tests.transform_test.TransformModuleTest.test_scale__alpha)
see if set_alpha information is kept. ... ok
test_scale__destination (pygame.tests.transform_test.TransformModuleTest.test_scale__destination)
see if the destination surface can be passed in to use. ... ok
test_scale__vector2 (pygame.tests.transform_test.TransformModuleTest.test_scale__vector2) ... ok
test_scale__zero_surface_transform (pygame.tests.transform_test.TransformModuleTest.test_scale__zero_surface_transform) ... ok
test_scale_by (pygame.tests.transform_test.TransformModuleTest.test_scale_by) ... ok
test_set_smoothscale_backend (pygame.tests.transform_test.TransformModuleTest.test_set_smoothscale_backend) ... ok
test_smoothscale (pygame.tests.transform_test.TransformModuleTest.test_smoothscale)
Tests the stated boundaries, sizing, and color blending of smoothscale function ... ok
test_smoothscale_by (pygame.tests.transform_test.TransformModuleTest.test_smoothscale_by) ... ok
test_threshold__honors_third_surface (pygame.tests.transform_test.TransformModuleTest.test_threshold__honors_third_surface) ... ok
test_threshold__subclassed_surface (pygame.tests.transform_test.TransformModuleTest.test_threshold__subclassed_surface)
Ensure threshold accepts subclassed surfaces. ... ok
test_threshold__surface (pygame.tests.transform_test.TransformModuleTest.test_threshold__surface) ... ok
test_threshold__uneven_colors (pygame.tests.transform_test.TransformModuleTest.test_threshold__uneven_colors) ... ok
test_threshold_count (pygame.tests.transform_test.TransformModuleTest.test_threshold_count)
counts the colors, and not changes them. ... ok
test_threshold_dest_surf_all_changed (pygame.tests.transform_test.TransformModuleTest.test_threshold_dest_surf_all_changed)
Lowering the threshold, expecting changed surface ... ok
test_threshold_dest_surf_not_change (pygame.tests.transform_test.TransformModuleTest.test_threshold_dest_surf_not_change)
the pixels within the threshold. ... ok
test_threshold_from_surface (pygame.tests.transform_test.TransformModuleTest.test_threshold_from_surface)
Set similar pixels in 'dest_surf' to color in the 'surf'. ... ok
test_threshold_inverse_set (pygame.tests.transform_test.TransformModuleTest.test_threshold_inverse_set)
changes the pixels within the threshold, and not outside. ... ok
test_threshold_non_src_alpha (pygame.tests.transform_test.TransformModuleTest.test_threshold_non_src_alpha) ... ok
test_threshold_search_surf (pygame.tests.transform_test.TransformModuleTest.test_threshold_search_surf) ... ok
test_threshold_set_behavior0 (pygame.tests.transform_test.TransformModuleTest.test_threshold_set_behavior0)
raises an error when set_behavior=1 ... ok
test_threshold_set_behavior2 (pygame.tests.transform_test.TransformModuleTest.test_threshold_set_behavior2)
raises an error when set_behavior=2 and set_color is not None. ... ok
----------------------------------------------------------------------
Ran 42 tests in 0.017s
OK
loading pygame.tests.version_test
test_pg_version_consistency (pygame.tests.version_test.VersionTest.test_pg_version_consistency) ... ok
test_sdl_version (pygame.tests.version_test.VersionTest.test_sdl_version) ... ok
----------------------------------------------------------------------
Ran 2 tests in 0.000s
OK
loading pygame.tests.video_test
test_renderer_set_viewport (pygame.tests.video_test.VideoModuleTest.test_renderer_set_viewport)
works. ... ok
----------------------------------------------------------------------
Ran 1 test in 0.002s
OK
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/__main__.py", line 143, in <module>
run_and_exit(*args, **kwds)
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/test_utils/run_tests.py", line 346, in run_and_exit
total, fails = run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/nix/store/v9km0nv8ld51ljnv45ck462acix1wsqz-python3.11-pygame-2.5.2/lib/python3.11/site-packages/pygame/tests/test_utils/run_tests.py", line 303, in run
raise AssertionError(
AssertionError: Something went wrong in the Test Machinery:
total: 1765 != untrusty_total: 1767
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment