nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

Fix warnings when run with python -3 #1008

Open sigfrido opened 8 years ago

sigfrido commented 8 years ago

Fixes the following python 3 compat warnings when we run nose tests with python -3:

Here there's also a suggestion to set hash = None if we're sure instances will never be hashed: http://stackoverflow.com/questions/15471333/how-to-eliminate-a-python3-deprecation-warning-for-the-equality-operator.