# HG changeset patch -- Bitbucket.org
# Project py-trunk
# URL http://bitbucket.org/hpk42/py-trunk/overview
# User holger krekel <hol...@merlinux.eu>
# Date 1278500854 -7200
# Node ID e65a5081700c14c3bc6beed6cb78c37f867bcfde
# Parent  fb40b9ae76d65452a087b3f06ea0248f49ca3ca1
small fix

--- a/py/_plugin/pytest_runner.py
+++ b/py/_plugin/pytest_runner.py
@@ -124,7 +124,7 @@ class BaseReport(object):
 
     def _getcrashline(self):
         try:
-            return self.longrepr.reprcrash
+            return str(self.longrepr.reprcrash)
         except AttributeError:
             try:
                 return str(self.longrepr)[:50]
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to