Merge pull request #5123 from blueyed/clsname
TestReport: use class name in repr
This commit is contained in:
commit
d45fa7b212
|
@ -328,7 +328,8 @@ class TestReport(BaseReport):
|
|||
self.__dict__.update(extra)
|
||||
|
||||
def __repr__(self):
|
||||
return "<TestReport %r when=%r outcome=%r>" % (
|
||||
return "<%s %r when=%r outcome=%r>" % (
|
||||
self.__class__.__name__,
|
||||
self.nodeid,
|
||||
self.when,
|
||||
self.outcome,
|
||||
|
|
Loading…
Reference in New Issue