From 6f69da9db144e9c244579984cb4aca60190755a5 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 12 Feb 2025 19:31:35 +1100 Subject: [PATCH] Test non-string advanced value --- Tests/test_file_avif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_file_avif.py b/Tests/test_file_avif.py index 692adc07c5f..a87717fd461 100644 --- a/Tests/test_file_avif.py +++ b/Tests/test_file_avif.py @@ -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: