mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Fixed JPEG qtables test
This commit is contained in:
parent
9935c40d6c
commit
fcd4c662bf
|
@ -224,7 +224,7 @@ class TestFileJpeg(PillowTestCase):
|
|||
filename = "Tests/images/junk_jpeg_header.jpg"
|
||||
Image.open(filename)
|
||||
|
||||
def test_qtables():
|
||||
def test_qtables(self):
|
||||
im = Image.open("Tests/images/lena.jpg")
|
||||
qtables = im.quantization
|
||||
reloaded = self.roundtrip(im, qtables=qtables, subsampling=0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user