[pypy-svn] r63749 - pypy/branch/classdeco/pypy/tool/pytest

benjamin at codespeak.net benjamin at codespeak.net
Mon Apr 6 23:19:49 CEST 2009


Author: benjamin
Date: Mon Apr  6 23:19:47 2009
New Revision: 63749

Modified:
   pypy/branch/classdeco/pypy/tool/pytest/appsupport.py
Log:
fix pytest with exec

Modified: pypy/branch/classdeco/pypy/tool/pytest/appsupport.py
==============================================================================
--- pypy/branch/classdeco/pypy/tool/pytest/appsupport.py	(original)
+++ pypy/branch/classdeco/pypy/tool/pytest/appsupport.py	Mon Apr  6 23:19:47 2009
@@ -29,7 +29,7 @@
             try:
                 return py.code.Source(self.path.read(mode="rU"))
             except py.error.Error:
-                return "????"
+                return None
     fullsource = property(fullsource, None, None, "Full source of AppCode")
 
     def getargs(self):



More information about the Pypy-commit mailing list