[py-svn] py-trunk commit 5265cfc1d96f: fix for py3 exception printing logic

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue May 25 17:20:37 CEST 2010


# HG changeset patch -- Bitbucket.org
# Project py-trunk
# URL http://bitbucket.org/hpk42/py-trunk/overview
# User holger krekel <holger at merlinux.eu>
# Date 1274801064 -7200
# Node ID 5265cfc1d96f70de514ba9df9e0935ce179f02f2
# Parent  fcfd21755429fbc36b0b5da7346ae8ec5d693d62
fix for py3 exception printing logic

--- a/py/_test/session.py
+++ b/py/_test/session.py
@@ -22,6 +22,7 @@ class Session(object):
     nodeid = ""
     class Interrupted(KeyboardInterrupt):
         """ signals an interrupted test run. """
+        __module__ = 'builtins' # for py3
         
     def __init__(self, config):
         self.config = config



More information about the pytest-commit mailing list