From c8d1aa3215a8375b79afd87c53862a7598412189 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 sort by lowercase Partial fix for https://github.com/fedora-python/tox-current-env/issues/52 --- tests/test_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_integration.py b/tests/test_integration.py index 09abd46..a6dd78b 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -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