From ce3432f5f42c86eef9823cd780be3c1b4a165bb3 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Wed, 23 Nov 2016 06:24:40 -0800 Subject: [PATCH] Test for issue #2206 --- Tests/test_file_libtiff.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/test_file_libtiff.py b/Tests/test_file_libtiff.py index 2d1b33154..bc2149dd6 100644 --- a/Tests/test_file_libtiff.py +++ b/Tests/test_file_libtiff.py @@ -39,6 +39,8 @@ class LibTiffTestCase(PillowTestCase): out = self.tempfile("temp.png") im.save(out) + out_bytes = io.BytesIO() + im.save(out_bytes, format='tiff', compression='group4') class TestFileLibTiff(LibTiffTestCase):