Tests: Rules: Remove unused line and column args
Now that every test case use the `problem=(x, y)` syntax.
This commit is contained in:
@@ -33,7 +33,7 @@ class RuleTestCase(unittest.TestCase):
|
|||||||
'rules': conf}
|
'rules': conf}
|
||||||
return parse_config(yaml.safe_dump(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 = []
|
expected_problems = []
|
||||||
for key in kwargs:
|
for key in kwargs:
|
||||||
assert key.startswith('problem')
|
assert key.startswith('problem')
|
||||||
|
|||||||
Reference in New Issue
Block a user