[py-svn] r32909 - py/branch/apigen/py/code

fijal at codespeak.net fijal at codespeak.net
Thu Oct 5 13:58:19 CEST 2006


Author: fijal
Date: Thu Oct  5 13:58:08 2006
New Revision: 32909

Modified:
   py/branch/apigen/py/code/frame.py
Log:
Helper.


Modified: py/branch/apigen/py/code/frame.py
==============================================================================
--- py/branch/apigen/py/code/frame.py	(original)
+++ py/branch/apigen/py/code/frame.py	Thu Oct  5 13:58:08 2006
@@ -31,3 +31,9 @@
 
     def is_true(self, object):
         return object
+
+    def getargs(self):
+        retval = []
+        for arg in self.code.getargs():
+            retval.append((arg, self.f_locals[arg]))
+        return retval



More information about the pytest-commit mailing list