unittest fallback for python 25 and 27