Skip to content

Commit

Permalink
Test non-string advanced value
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Feb 12, 2025
1 parent 3cedde4 commit 6f69da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_file_avif.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def test_encoder_advanced_codec_options(
assert ctrl_buf.getvalue() != test_buf.getvalue()

@skip_unless_avif_encoder("aom")
@pytest.mark.parametrize("advanced", [{"foo": "bar"}, 1234])
@pytest.mark.parametrize("advanced", [{"foo": "bar"}, {"foo": 1234}, 1234])
def test_encoder_advanced_codec_options_invalid(
self, tmp_path: Path, advanced: dict[str, str] | int
) -> None:
Expand Down

0 comments on commit 6f69da9

Please sign in to comment.