py2.6 compatible str.format in test