From f7cad30f6cae1f81b56fb783cc30d72006e45347 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 13 May 2013 09:25:05 -0700 Subject: [PATCH] re-enable tiff from string tests - refs #1805 - closes #1831 --- tests/python_tests/image_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/python_tests/image_test.py b/tests/python_tests/image_test.py index 24c5719d2..9a764a2a4 100644 --- a/tests/python_tests/image_test.py +++ b/tests/python_tests/image_test.py @@ -59,7 +59,8 @@ def test_image_open_from_string(): eq_(len(mapnik.Image.frombuffer(buffer(im1.tostring('jpeg'))).tostring()),length) # TODO - https://github.com/mapnik/mapnik/issues/1831 - #eq_(len(mapnik.Image.fromstring(im1.tostring('tiff')).tostring()),length) + eq_(len(mapnik.Image.fromstring(im1.tostring('tiff')).tostring()),length) + eq_(len(mapnik.Image.frombuffer(buffer(im1.tostring('tiff'))).tostring()),length) if __name__ == "__main__": setup()