diff --git a/Tests/test_file_avif.py b/Tests/test_file_avif.py index 7ccbb112cd0..652dfb0dad7 100644 --- a/Tests/test_file_avif.py +++ b/Tests/test_file_avif.py @@ -78,7 +78,7 @@ def skip_unless_avif_version_gte(version): should_skip = True else: version_str = ".".join([str(v) for v in version]) - reason = "%s < %s" % (_avif.libavif_version, version_str) + reason = "{} < {}".format(_avif.libavif_version, version_str) should_skip = _avif.VERSION < version return pytest.mark.skipif(should_skip, reason=reason)