fix an unittest error in python 3.x