add workaround to support skipTest in python 2.6.x