GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
146 stars 27 forks source link

add __ne__ methods for python2 compatibility #45

Closed sarg closed 8 years ago

sarg commented 8 years ago

ne is not consistent with eq in python2

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.2%) to 89.922% when pulling 49c93ace4f0855d41ade87bee250a8d42edc166e on sarg:develop into d0dcd579031070fca1a8138b86af24c538f7f6d0 on robgolding63:develop.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.05%) to 90.077% when pulling f874381c6358b993dbc02c63f9ae6995d3fed4e4 on sarg:develop into d0dcd579031070fca1a8138b86af24c538f7f6d0 on robgolding63:develop.

tbabej commented 8 years ago

This looks good. I think we should also add a test that will actually test that __ne__ returns True for two unequal objects.

tbabej commented 8 years ago

Implemented with 2613912534bba4a68e19a76752971ac75063654b.