Skip to content

Commit

Permalink
Tests: Don't assume tox sorts by lowercase
Browse files Browse the repository at this point in the history
Partial fix for fedora-python#52
  • Loading branch information
hroncok committed Dec 8, 2022
1 parent 2f10054 commit 096d986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def test_noquiet_installed_packages(flag):

# default tox produces output sorted by package names
assert packages == sorted(
packages, key=lambda p: p.partition("==")[0].partition(" @ ")[0].lower()
packages, key=lambda p: p.partition("==")[0].partition(" @ ")[0]
)

# without a flag, the output must match tox defaults
Expand Down

0 comments on commit 096d986

Please sign in to comment.