diff --git a/setup.py b/setup.py index 9d2f091d2..cc5f7ed1a 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,6 @@ Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 -Programming Language :: Python :: 3.14 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Quality Assurance diff --git a/tests/test_setup.py b/tests/test_setup.py index 9061d4dfe..c162d253e 100644 --- a/tests/test_setup.py +++ b/tests/test_setup.py @@ -9,7 +9,10 @@ from typing import List, cast +import pytest + import coverage +from coverage import env from tests.coveragetest import CoverageTest @@ -35,6 +38,10 @@ def test_metadata(self) -> None: assert "github.com/nedbat/coveragepy" in out[2] assert "Ned Batchelder" in out[3] + @pytest.mark.skipif( + env.PYVERSION[3:5] == ("alpha", 0), + reason="don't expect classifiers until labelled builds", + ) def test_more_metadata(self) -> None: # Let's be sure we pick up our own setup.py # CoverageTest restores the original sys.path for us.