mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 16:34:46 +00:00
makes prelim_args test more explicit
This commit is contained in:
parent
16ca17388a
commit
e9b9ebb58e
1 changed files with 1 additions and 1 deletions
|
|
@ -106,4 +106,4 @@ def test_prelim_opts_handles_empty(application):
|
||||||
with mock.patch.object(sys, 'argv', irrelevant_args):
|
with mock.patch.object(sys, 'argv', irrelevant_args):
|
||||||
application.parse_preliminary_options_and_args([])
|
application.parse_preliminary_options_and_args([])
|
||||||
|
|
||||||
assert application.prelim_args != irrelevant_args
|
assert application.prelim_args == []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue