Skip to content

Commit

Permalink
Revert "test: sort the SVG test list"
Browse files Browse the repository at this point in the history
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 4e4910d.
  • Loading branch information
whot committed Oct 24, 2024
1 parent 78f2b9e commit 3907764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3907764

Please sign in to comment.