Use unittest2 for Python < 2.7 .