vaab / colour

Python color representations manipulation library (RGB, HSL, web, ...)
BSD 2-Clause "Simplified" License
319 stars 41 forks source link

fix: unexpected behavior with ``!=`` operator. (fixes #26) #29

Closed vaab closed 7 years ago

vaab commented 7 years ago

This is a proposal fix for #26, in an attempt to superseed #28 in being more up to the point and avoid reimplementation and try to be future proof and pythonic : it intends of implementing actual python 3 behavior.

vaab commented 7 years ago

I added tests and README.rst documentation to show that it allows the other object to implement its own equality methods.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.02%) to 99.149% when pulling 38947e0934c1600fddd3f3b08b84fb5fc85caa12 on fix26 into 69f5add6564d581c656e89a98fe7ab31b0b4836b on master.