mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2025-01-11 17:06:13 +01:00
Tests: Don't assume tox sorts by lowercase
Partial fix for https://github.com/fedora-python/tox-current-env/issues/52
This commit is contained in:
parent
22b05190f1
commit
b3577b2733
@ -518,7 +518,7 @@ def test_noquiet_installed_packages(flag):
|
|||||||
|
|
||||||
# default tox produces output sorted by package names
|
# default tox produces output sorted by package names
|
||||||
assert packages == sorted(
|
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
|
# without a flag, the output must match tox defaults
|
||||||
|
Loading…
Reference in New Issue
Block a user