py-sdl / py-sdl2

Python ctypes wrapper around SDL2
Other
304 stars 49 forks source link

Improve unit tests and restore Python 2.7 CI runners #265

Closed a-hurst closed 1 year ago

a-hurst commented 1 year ago

PR Description

Closes #257. This PR fixes a bunch of unsafe assumptions about SDL errors in the existing test suite, and also fixes/skips a number of tests that don't currently work right with Wayland or XWayland.

This also tries re-adding Python 2.7 runners to the CI, since official support got removed from setup-python this week.

Merge Checklist