project-rig / rig

A collection of tools for developing SpiNNaker applications.
GNU General Public License v2.0
4 stars 0 forks source link

Add corresponding __ne__ methods to objects with __eq__ #218

Closed mossblaser closed 8 years ago

mossblaser commented 8 years ago

These are required for Python 2.7 compatibility: In Python 3.x if ne is omitted, it defaults to the inversion of eq if eq defined. In Python 2.x ne defaults to id(a) != id(b).

Thanks to @alan-stokes for spotting this bug!

mundya commented 8 years ago

LGTM, the failing tests look like a connectivity issue.