File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1229,12 +1229,12 @@ def write_fixture(fixture_def):
1229
1229
return
1230
1230
if verbose > 0 :
1231
1231
bestrel = get_best_rel (fixture_def .func )
1232
- funcargspec = "{} -- {}" .format (argname , bestrel )
1232
+ funcargspec = "{0 } -- {1 }" .format (argname , bestrel )
1233
1233
else :
1234
1234
funcargspec = argname
1235
1235
tw .line (funcargspec , green = True )
1236
1236
1237
- INDENT = ' {}'
1237
+ INDENT = ' {0 }'
1238
1238
fixture_doc = fixture_def .func .__doc__
1239
1239
1240
1240
if fixture_doc :
@@ -1252,8 +1252,8 @@ def write_item(item):
1252
1252
bestrel = get_best_rel (item .function )
1253
1253
1254
1254
tw .line ()
1255
- tw .sep ('-' , 'fixtures used by {}' .format (item .name ))
1256
- tw .sep ('-' , 'from {}' .format (bestrel ))
1255
+ tw .sep ('-' , 'fixtures used by {0 }' .format (item .name ))
1256
+ tw .sep ('-' , 'from {0 }' .format (bestrel ))
1257
1257
for argname , fixture_defs in sorted (name2fixturedefs .items ()):
1258
1258
assert fixture_defs is not None
1259
1259
if not fixture_defs :
You can’t perform that action at this time.
0 commit comments