Skip to content

Commit

Permalink
Make sure that the order of Requires-Dist does not matter
Browse files Browse the repository at this point in the history
Fixes: tox-dev#77
  • Loading branch information
frenzymadness authored Aug 17, 2023
1 parent 297a1ac commit 6ef5200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_frontend_setuptools.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_setuptools_prepare_metadata_for_build_wheel(frontend_setuptools: Subpro
assert dist.metadata["Name"] == "demo"
values = [v for k, v in dist.metadata.items() if k == "Requires-Dist"] # type: ignore[attr-defined]
# ignore because "PackageMetadata" has no attribute "items"
assert values == ["requests >2", "magic >3"]
assert sorted(values) == ["magic >3", "requests >2"]
assert isinstance(result.out, str)
assert isinstance(result.err, str)

Expand Down

0 comments on commit 6ef5200

Please sign in to comment.