Fix testing with unittest2 on Python 2.6 and others

The previous code exit code was 1 on Python != 2.6, which caused Travis
to shock and not to build on Python versions other than 2.6.