Remove a couple of redundant commas

Mypy complains about this once the function is typed:

src/_pytest/main.py:85: error: "_addoption" of "OptionGroup" does not return a value
src/_pytest/main.py:133: error: "addoption" of "OptionGroup" does not return a value
This commit is contained in:
Ran Benita 2020-01-25 14:28:32 +02:00 committed by Daniel Hahler
parent 6f2943c7b3
commit 94d8c071b6
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ def pytest_addoption(parser):
dest="maxfail",
const=1,
help="exit instantly on first error or failed test.",
),
)
group._addoption(
"--maxfail",
metavar="num",
@ -122,7 +122,7 @@ def pytest_addoption(parser):
"--co",
action="store_true",
help="only collect tests, don't execute them.",
),
)
group.addoption(
"--pyargs",
action="store_true",