Author: Ronny Pfannschmidt <[email protected]>
Branch: pytest-update
Changeset: r61245:b2c8635d655e
Date: 2013-02-15 09:26 +0100
http://bitbucket.org/pypy/pypy/changeset/b2c8635d655e/
Log: support kwargs in appsupport frame getargs for recent pytest
diff --git a/pypy/tool/pytest/appsupport.py b/pypy/tool/pytest/appsupport.py
--- a/pypy/tool/pytest/appsupport.py
+++ b/pypy/tool/pytest/appsupport.py
@@ -35,7 +35,8 @@
return None
fullsource = property(fullsource, None, None, "Full source of AppCode")
- def getargs(self):
+ def getargs(self, **kw):
+ #XXX: todo: test&support the pytest argument addition
return self.raw.co_varnames[:self.raw.co_argcount]
class AppFrame(py.code.Frame):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit