Skip to content

Commit 292659b

Browse files
committed
Test SEQ access in gifsave
1 parent 7f478f4 commit 292659b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test-suite/test_foreign.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ def test_jp2ksave(self):
13781378
@skip_if_no("gifsave")
13791379
def test_gifsave(self):
13801380
# Animated GIF round trip
1381-
x1 = pyvips.Image.new_from_file(GIF_ANIM_FILE, n=-1)
1381+
x1 = pyvips.Image.new_from_file(GIF_ANIM_FILE, access="sequential", n=-1)
13821382
b1 = x1.gifsave_buffer()
13831383
x2 = pyvips.Image.new_from_buffer(b1, "", n=-1)
13841384
assert x1.width == x2.width
@@ -1407,7 +1407,7 @@ def test_gifsave(self):
14071407

14081408
if have("webpload"):
14091409
# Animated WebP to GIF
1410-
x1 = pyvips.Image.new_from_file(WEBP_ANIMATED_FILE, n=-1)
1410+
x1 = pyvips.Image.new_from_file(WEBP_ANIMATED_FILE, access="sequential", n=-1)
14111411
b1 = x1.gifsave_buffer()
14121412
x2 = pyvips.Image.new_from_buffer(b1, "", n=-1)
14131413
assert x1.width == x2.width

0 commit comments

Comments
 (0)