Skip to content

Commit

Permalink
tests: add failing test for macos arm64 aom intrinsics
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Jul 13, 2024
1 parent 1b42dd1 commit b1879b8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_file_avif.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,18 @@ def test_decoder_strict_flags(self):
with Image.open("%s/tests/images/chimera-missing-pixi.avif" % CURR_DIR) as im:
assert im.size == (480, 270)

@skip_unless_avif_encoder("aom")
def test_aom_optimizations(self):
im = hopper("RGB")
buf = BytesIO()
im.save(buf, format="AVIF", codec="aom", speed=1)

@skip_unless_avif_encoder("svt")
def test_svt_optimizations(self):
im = hopper("RGB")
buf = BytesIO()
im.save(buf, format="AVIF", codec="svt", speed=1)


class TestAvifAnimation:
@contextmanager
Expand Down

0 comments on commit b1879b8

Please sign in to comment.