mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2025-08-12 02:04:05 +02: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user