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}
|
||||
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')
|
||||
|
||||
Reference in New Issue
Block a user