parent
e4f2c4e94d
commit
f7cad30f6c
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue