aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2011-04-04 18:53:29 +0200
committerArmin Rigo <arigo@tunes.org>2011-04-04 18:53:29 +0200
commit05b721ff5a7fc7f604124475b7c273147eb8d299 (patch)
treea6555e2aa67b0d4daf71ca59305fb632a1a0a99f /_pytest
parentUpdate the version; we are now close to 1.5. (diff)
downloadpypy-05b721ff5a7fc7f604124475b7c273147eb8d299.tar.gz
pypy-05b721ff5a7fc7f604124475b7c273147eb8d299.tar.bz2
pypy-05b721ff5a7fc7f604124475b7c273147eb8d299.zip
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.
Diffstat (limited to '_pytest')
-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):