Skip to content

Commit

Permalink
fix #668: harden the integration test for the expected extras of the …
Browse files Browse the repository at this point in the history
…distribution
  • Loading branch information
RonnyPfannschmidt committed Jan 18, 2022
1 parent 6340374 commit e28a7c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ v6.4.1


* fix regression #669: restore get_version signature
* fix #668: harden the selftest for distribution extras

6.4.0
======
Expand Down
4 changes: 2 additions & 2 deletions testing/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ def testwarn_on_broken_setuptools():


@pytest.mark.issue(611)
def test_provides_toml_exta():
def test_distribution_procides_extras():
try:
from importlib.metadata import distribution
except ImportError:
from importlib_metadata import distribution

dist = distribution("setuptools_scm")
assert "toml" in dist.metadata["Provides-Extra"]
assert sorted(dist.metadata.get_all("Provides-Extra")) == ["test", "toml"]

0 comments on commit e28a7c9

Please sign in to comment.