mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 14:04:16 +00:00
fix JobsArgument --help output
This commit is contained in:
parent
94304de684
commit
9b8f908314
2 changed files with 10 additions and 0 deletions
|
|
@ -373,3 +373,9 @@ def test_parse_invalid_jobs_argument(optmanager, capsys):
|
|||
"'foo' must be 'auto' or an integer.\n"
|
||||
)
|
||||
assert expected in output
|
||||
|
||||
|
||||
def test_jobs_argument_str():
|
||||
"""Test that JobsArgument has a correct __str__."""
|
||||
assert str(JobsArgument("auto")) == "auto"
|
||||
assert str(JobsArgument("123")) == "123"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue