diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf8743eb7..ca44ca742 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: ['3.11', '3.12', '3.13', '3.14', '3.15'] name: Python ${{ matrix.python-version }} steps: @@ -46,4 +46,4 @@ jobs: REPL_ID: hello # Arcade checks for this to disable anti-aliasing run: | xvfb-run --auto-servernum uv run arcade - xvfb-run --auto-servernum uv run pytest --maxfail=10 \ No newline at end of file + xvfb-run --auto-servernum uv run pytest --maxfail=10 diff --git a/tests/unit/color/test_module_color.py b/tests/unit/color/test_module_color.py index 0ab742fb1..1a7f0ba85 100644 --- a/tests/unit/color/test_module_color.py +++ b/tests/unit/color/test_module_color.py @@ -1,6 +1,13 @@ +import sys + + def test_colors(): from arcade import color names = color.__dict__.keys() + + # py3.15 + n_extra = int(sys.version_info <= (3, 15)) + # number of colors + 1 real import - assert 1016 + 1 == len(names) + assert 1016 + n_extra == len(names) diff --git a/tests/unit/color/test_module_csscolor.py b/tests/unit/color/test_module_csscolor.py index dce43eba3..193dbf35d 100644 --- a/tests/unit/color/test_module_csscolor.py +++ b/tests/unit/color/test_module_csscolor.py @@ -1,6 +1,13 @@ +import sys + + def test_csscolors(): from arcade import csscolor names = csscolor.__dict__.keys() + + # py3.15+ + n_extra = int(sys.version_info <= (3, 15)) + # number of colors + 1 import - assert 156 + 1 == len(names) + assert 156 + n_extra == len(names)