TestReport: use class name in repr

This commit is contained in:
Daniel Hahler 2019-04-15 05:47:35 +02:00
parent 19035f4b55
commit b2be6c1a30
1 changed files with 2 additions and 1 deletions

View File

@ -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,