py2.6 combatible str.format in test