python-needle / needle

Automated tests for your CSS.
https://needle.readthedocs.io/
Other
590 stars 50 forks source link

Fix perceptualdiff false positive #54

Closed adrianholovaty closed 8 years ago

adrianholovaty commented 8 years ago

In my usage of needle, sometimes perceptualdiff returns a false positive — claiming that there's an image difference when there's actually not. It actually says "0 pixels are different" too!

Not sure what the problem is with perceptualdiff, but here's how I've patched my local copy.