@@ -130,7 +130,7 @@ def __init__(self, nodeid, nunit_xml):
130
130
131
131
def record_testreport (self , testreport ):
132
132
"""Export to XML."""
133
- log .debug ("record_test_report:{0}" . format ( testreport ) )
133
+ log .debug ("record_test_report:%s" , testreport )
134
134
135
135
if testreport .when == "setup" :
136
136
r = self .nunit_xml .cases [testreport .nodeid ] = {
@@ -155,7 +155,7 @@ def record_testreport(self, testreport):
155
155
r ["stop" ] = datetime .now (timezone .utc ) # Will be overridden if called
156
156
r ["duration" ] = 0 # Updated on teardown
157
157
if testreport .outcome == "skipped" :
158
- log .debug ("skipping : {0}" . format ( testreport .longrepr ) )
158
+ log .debug ("skipping : %s" , testreport .longrepr )
159
159
if (
160
160
isinstance (testreport .longrepr , tuple )
161
161
and len (testreport .longrepr ) > 2
@@ -281,7 +281,7 @@ def __init__(
281
281
self .show_username = show_username
282
282
self .show_user_domain = show_user_domain
283
283
self .attach_on = attach_on
284
- logging .debug ("Attach on criteria : {0}" . format ( attach_on ) )
284
+ log .debug ("Attach on criteria : %s" , attach_on )
285
285
self .idrefindex = 100 # Create a unique ID counter
286
286
self .filters = filters
287
287
0 commit comments