Armin Rigo committed 765fd1a

No clue what I'm doing there, but pytest_runtest_logreport()
in the "resultlog" output tries to do an invalid operation
on the result of (some?) skipped tests. Just use the str()
of the whole thing for now.

Comments (0)

Files changed (1)


         elif report.failed:
             longrepr = str(report.longrepr)
         elif report.skipped:
-            longrepr = str(report.longrepr[2])
+            longrepr = str(report.longrepr)
         self.log_outcome(report, code, longrepr)
     def pytest_collectreport(self, report):