Skip to content

Commit

Permalink
fix: pyupgrade lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Oct 2, 2023
1 parent 48b859f commit e0f5c50
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 @@ -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 = f"{_avif.libavif_version} < {version_str}"
should_skip = _avif.VERSION < version
return pytest.mark.skipif(should_skip, reason=reason)

Expand Down

0 comments on commit e0f5c50

Please sign in to comment.