diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-21 17:12:48 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-21 17:12:48 +0000 |
commit | 46de1a2f454a1465026d681f5dfe8db7dde5b126 (patch) | |
tree | 6871da55d74dda8a63f87755749c25c5a439ecbe /dev-python/pyglet/pyglet-2.0.10.ebuild | |
parent | 5b68b3c83eeba9cd1f69f8bce1194794975b84d3 (diff) |
gentoo auto-resync : 21:11:2023 - 17:12:48
Diffstat (limited to 'dev-python/pyglet/pyglet-2.0.10.ebuild')
-rw-r--r-- | dev-python/pyglet/pyglet-2.0.10.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-python/pyglet/pyglet-2.0.10.ebuild b/dev-python/pyglet/pyglet-2.0.10.ebuild index 3264295ae589..b3fb9f719635 100644 --- a/dev-python/pyglet/pyglet-2.0.10.ebuild +++ b/dev-python/pyglet/pyglet-2.0.10.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 virtualx xdg-utils @@ -62,13 +62,15 @@ python_test() { tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume tests/unit/test_clock_freq.py::test_elapsed_time_between_tick ) - if [[ ${EPYTHON} == python3.11 ]]; then - EPYTEST_DESELECT+=( - # broken test - # https://github.com/pyglet/pyglet/issues/606 - tests/unit/test_events.py::test_push_handlers_instance - ) - fi + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/pyglet/pyglet/issues/1000 + tests/unit/test_events.py::test_weakref_to_instance{,_method} + tests/unit/test_events.py::test_weakref_deleted_when_instance_is_deleted + ) + ;; + esac # Specify path to avoid running interactive tests # We could add in integration tests, but they're slow |