Стенды P10: ALT Education KDE x86-64 ALT Education XFCE x86-64 ALT Workstation x86-64 ALT Workstation K x86-64 ALT Server x86-64 Версия: python3-module-pygame-2.0.1-alt1 Шаги: 1) Установить пакет: # apt-get install -y python3-module-pygame 2) Запустить в графическом сеансе: # cd /usr/lib64/python3/site-packages/pygame/tests/ && python3 ./key_test.py Результат: - на Server x86-64 pygame 2.0.1 (SDL 2.30.3, Python 3.9.18) Hello from the pygame community. https://www.pygame.org/contribute.html E ====================================================================== ERROR: setUpClass (__main__.KeyModuleTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3/site-packages/pygame/tests/./key_test.py", line 13, in setUpClass pygame.init() RuntimeError: SDL compiled with version 2.0.14, linked to 2.30.3 ---------------------------------------------------------------------- Ran 0 tests in 0.000s FAILED (errors=1) на остальных системах FAIL: test_get_focused (__main__.KeyModuleTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3/site-packages/pygame/tests/./key_test.py", line 60, in test_get_focused self.assertFalse(pygame.key.get_focused()) AssertionError: 1 is not false ---------------------------------------------------------------------- Ran 7 tests in 0.864s FAILED (failures=1 Проверялось на Sisyphus, ошибка не воспроизводится с версией python3-module-pygame-2.5.2-alt1.