[py-svn] r62967 - py/trunk/py/code/testing

hpk at codespeak.net hpk at codespeak.net
Mon Mar 16 13:42:22 CET 2009


Author: hpk
Date: Mon Mar 16 13:42:20 2009
New Revision: 62967

Modified:
   py/trunk/py/code/testing/test_excinfo.py
Log:
fix mock object 


Modified: py/trunk/py/code/testing/test_excinfo.py
==============================================================================
--- py/trunk/py/code/testing/test_excinfo.py	(original)
+++ py/trunk/py/code/testing/test_excinfo.py	Mon Mar 16 13:42:20 2009
@@ -6,7 +6,7 @@
         self.lines = []
     def sep(self, sep, line=None):
         self.lines.append((sep, line))
-    def line(self, line):
+    def line(self, line, **kw):
         self.lines.append(line)
     def markup(self, text, **kw):
         return text



More information about the pytest-commit mailing list