From 096d986fd61de9d291eac6756c2385dd43de03f1 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.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