Skip to content

Commit

Permalink
tests: ensure rgb image is truly different that argb - refs #1559
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed May 21, 2013
1 parent bd3ba15 commit 21fa4d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/python_tests/png_encoding_test.py
Expand Up @@ -131,6 +131,7 @@ def test_transparency_levels_aerial():
im_in = mapnik.Image.open('./images/support/transparency/aerial_rgb.png')
eq_(len(im.tostring('png')),len(im_in.tostring('png')))
eq_(len(im.tostring('png:t=0')),len(im_in.tostring('png:t=0')))
eq_(len(im.tostring('png:t=0')) == len(im_in.tostring('png')), False)


if __name__ == "__main__":
Expand Down

0 comments on commit 21fa4d2

Please sign in to comment.