Skip to content

Commit

Permalink
Make sure that the order of Requires-Dist does not matter (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzymadness authored Aug 17, 2023
1 parent df11c07 commit 41139e3
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 41139e3

Please sign in to comment.