Use pytest.param for consistency

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Ondrej Baranovič 2022-08-29 20:34:11 +02:00 committed by GitHub
parent aa5d67e492
commit 0ec3d3ec2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ def test_sanity():
@pytest.fixture( @pytest.fixture(
scope="module", scope="module",
params=[ params=[
ImageFont.Layout.BASIC, pytest.param(ImageFont.Layout.BASIC),
pytest.param(ImageFont.Layout.RAQM, marks=skip_unless_feature("raqm")), pytest.param(ImageFont.Layout.RAQM, marks=skip_unless_feature("raqm")),
], ],
) )