mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
remove unused parameter from make_formatter
This commit is contained in:
parent
4d06caab00
commit
f0f71fc179
3 changed files with 3 additions and 7 deletions
|
|
@ -122,7 +122,7 @@ def test_styleguide_init_report():
|
|||
raise NotImplementedError
|
||||
|
||||
style_guide.init_report(FakeFormatter)
|
||||
app.make_formatter.assert_called_once_with(FakeFormatter)
|
||||
assert isinstance(app.formatter, FakeFormatter)
|
||||
assert app.guide is None
|
||||
app.make_guide.assert_called_once_with()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue