fix py26 compatibility

This commit is contained in:
holger krekel 2014-10-27 10:02:15 +01:00
parent f2cdbe776e
commit 959395b796
1 changed files with 2 additions and 2 deletions

View File

@ -923,8 +923,8 @@ def idmaker(argnames, argvalues, idfn=None):
ids = [_idvalset(valindex, valset, argnames, idfn)
for valindex, valset in enumerate(argvalues)]
if len(set(ids)) < len(ids):
# the user may have provided a bad idfn which means the ids are not unique
ids = ["{}".format(i) + testid for i, testid in enumerate(ids)]
# user may have provided a bad idfn which means the ids are not unique
ids = [str(i) + testid for i, testid in enumerate(ids)]
return ids
def showfixtures(config):