From effb4db3b4ef2c80a9b290152e5f57881b8613fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Tue, 19 Jan 2016 17:06:18 +0100 Subject: [PATCH] Tests: Rules: Remove unused `line` and `column` args Now that every test case use the `problem=(x, y)` syntax. --- tests/rules/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rules/common.py b/tests/rules/common.py index d956302..0d31550 100644 --- a/tests/rules/common.py +++ b/tests/rules/common.py @@ -33,7 +33,7 @@ class RuleTestCase(unittest.TestCase): 'rules': conf} return parse_config(yaml.safe_dump(conf)) - def check(self, source, conf, line=None, column=None, **kwargs): + def check(self, source, conf, **kwargs): expected_problems = [] for key in kwargs: assert key.startswith('problem')