Skip to content

Commit

Permalink
build: don't claim pre-alpha-1 in classifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 26, 2024
1 parent 7f33622 commit 242adea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions tests/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@

from typing import List, cast

import pytest

import coverage
from coverage import env

from tests.coveragetest import CoverageTest

Expand All @@ -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.
Expand Down

0 comments on commit 242adea

Please sign in to comment.