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 Feb 16, 2023
1 parent 22b0519 commit b3577b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_integration_tox3.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,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 b3577b2

Please sign in to comment.