[pypy-svn] r62435 - pypy/trunk/pypy

hpk at codespeak.net hpk at codespeak.net
Tue Mar 3 00:31:48 CET 2009


Author: hpk
Date: Tue Mar  3 00:31:48 2009
New Revision: 62435

Modified:
   pypy/trunk/pypy/conftest.py
Log:
hopefully the last occurences of deprecated APIs for now


Modified: pypy/trunk/pypy/conftest.py
==============================================================================
--- pypy/trunk/pypy/conftest.py	(original)
+++ pypy/trunk/pypy/conftest.py	Tue Mar  3 00:31:48 2009
@@ -360,7 +360,9 @@
     def _keywords(self):
         return ['applevel'] + super(AppTestFunction, self)._keywords()
 
-    def execute(self, target, *args):
+    def runtest(self):
+        target = self.obj
+        args = self._args 
         assert not args 
         if option.runappdirect:
             return target(*args)
@@ -387,7 +389,9 @@
                     space.setattr(w_instance, space.wrap(name[2:]), 
                                   getattr(instance, name)) 
 
-    def execute(self, target, *args): 
+    def runtest(self):
+        target = self.obj
+        args = self._args 
         assert not args 
         if option.runappdirect:
             return target(*args)



More information about the Pypy-commit mailing list