Nearly every parametrized test in the codebase lacks pytest.param(id=...) labels. Named test IDs make pytest output much more readable and failures easier to diagnose.
This was excluded from #1154 to keep that PR focused on critical anti-patterns. A comprehensive sweep should add id= to all @pytest.mark.parametrize calls across all test files.
Files that already use pytest.param(id=...) (can serve as examples):
Spun off from #1154.
Nearly every parametrized test in the codebase lacks
pytest.param(id=...)labels. Named test IDs make pytest output much more readable and failures easier to diagnose.This was excluded from #1154 to keep that PR focused on critical anti-patterns. A comprehensive sweep should add
id=to all@pytest.mark.parametrizecalls across all test files.Files that already use
pytest.param(id=...)(can serve as examples):test_email.pytest_aps_data_management.py(utils)test_misc.py(after unit tests review #1154)test_statistics.py(after unit tests review #1154)test_stored_dict.py(after unit tests review #1154)Spun off from #1154.