From e1086ab7f9b4882ce170d542c412ae1bd1c25b7b Mon Sep 17 00:00:00 2001 From: hpk Date: Mon, 16 Mar 2009 13:42:20 +0100 Subject: [PATCH] [svn r62967] fix mock object --HG-- branch : trunk --- py/code/testing/test_excinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/code/testing/test_excinfo.py b/py/code/testing/test_excinfo.py index 94d31e26b..f6927fcb4 100644 --- a/py/code/testing/test_excinfo.py +++ b/py/code/testing/test_excinfo.py @@ -6,7 +6,7 @@ class TWMock: 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