[TIP] Show TiP: pdiffer - Call PerceptualDiff from Python

Zachary Voase z at zacharyvoase.com
Fri Apr 5 09:06:28 PDT 2013


https://pypi.python.org/pypi/pdiffer

I needed to call out to PerceptualDiff from some Python unit tests, so 
rather than invoking subprocess every time, I wrapped it up in this 
library. It includes 'assert_images_similar' and 
'assert_images_different' functions, too.

Enjoy!
-- Z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20130405/8558e638/attachment.html>


More information about the testing-in-python mailing list