From b09f066e5d92a17172b98f581ab573a76792a652 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 24 Oct 2024 12:16:07 +1000 Subject: [PATCH] Revert "test: sort the SVG test list" This sorted the list of file names used as id for the tests, resulting in the tests and their pytest-visible names being out of sync. This reverts commit 4e4910d08268a500a351dc2d4fa84f707db3d52d. --- test/test_svg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_svg.py b/test/test_svg.py index 3c676332..5113750b 100644 --- a/test/test_svg.py +++ b/test/test_svg.py @@ -83,7 +83,7 @@ def pytest_generate_tests(metafunc): ] def filenames(devices: List[SvgDevice]) -> List[str]: - return sorted([Path(d.device.layout_filename).name for d in devices]) + return [Path(d.device.layout_filename).name for d in devices] if "svgdevice" in metafunc.fixturenames: metafunc.parametrize("svgdevice", devices, ids=filenames(devices))