Skip to content

Commit

Permalink
Fix 1/2 sort.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Sep 13, 2024
1 parent 4f86f5a commit 1d72629
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/integration/cli/commands/test_venv_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,12 @@ def pre_resolved_dists(
)
assert sorted(
[(ProjectName("cowsay"), Version("5.0")), (ProjectName("ansicolors"), Version("1.1.8"))]
) == [
(dist.metadata.project_name, dist.metadata.version)
for dist in map(Distribution.load, glob.glob(os.path.join(dists_dir, "*.whl")))
]
) == sorted(
[
(dist.metadata.project_name, dist.metadata.version)
for dist in map(Distribution.load, glob.glob(os.path.join(dists_dir, "*.whl")))
]
)
return dists_dir


Expand Down

0 comments on commit 1d72629

Please sign in to comment.