aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '_pytest/resultlog.py')
-rw-r--r--_pytest/resultlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/resultlog.py b/_pytest/resultlog.py
index 7f879cce59..2606ff48ab 100644
--- a/_pytest/resultlog.py
+++ b/_pytest/resultlog.py
@@ -74,7 +74,7 @@ class ResultLog(object):
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):