Skip to content

Commit 242adea

Browse files
committed
build: don't claim pre-alpha-1 in classifiers
1 parent 7f33622 commit 242adea

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
Programming Language :: Python :: 3.11
3333
Programming Language :: Python :: 3.12
3434
Programming Language :: Python :: 3.13
35-
Programming Language :: Python :: 3.14
3635
Programming Language :: Python :: Implementation :: CPython
3736
Programming Language :: Python :: Implementation :: PyPy
3837
Topic :: Software Development :: Quality Assurance

tests/test_setup.py

+7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99

1010
from typing import List, cast
1111

12+
import pytest
13+
1214
import coverage
15+
from coverage import env
1316

1417
from tests.coveragetest import CoverageTest
1518

@@ -35,6 +38,10 @@ def test_metadata(self) -> None:
3538
assert "github.com/nedbat/coveragepy" in out[2]
3639
assert "Ned Batchelder" in out[3]
3740

41+
@pytest.mark.skipif(
42+
env.PYVERSION[3:5] == ("alpha", 0),
43+
reason="don't expect classifiers until labelled builds",
44+
)
3845
def test_more_metadata(self) -> None:
3946
# Let's be sure we pick up our own setup.py
4047
# CoverageTest restores the original sys.path for us.

0 commit comments

Comments
 (0)