fix unittest execution for python 2.6