From b3577b273310e23350d2c211684740baa32d8566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 8 Dec 2022 11:48:14 +0100 Subject: [PATCH] Tests: Don't assume tox sorts by lowercase Partial fix for https://github.com/fedora-python/tox-current-env/issues/52 --- tests/test_integration_tox3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_integration_tox3.py b/tests/test_integration_tox3.py index 0f5eb35..b260f3f 100644 --- a/tests/test_integration_tox3.py +++ b/tests/test_integration_tox3.py @@ -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