Skip to content

Commit a4ed5c3

Browse files
committed
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
1 parent e17f5fa commit a4ed5c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_pytest/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def pytest_addoption(parser):
7474
dest="maxfail",
7575
const=1,
7676
help="exit instantly on first error or failed test.",
77-
),
77+
)
7878
group._addoption(
7979
"--maxfail",
8080
metavar="num",
@@ -121,7 +121,7 @@ def pytest_addoption(parser):
121121
"--co",
122122
action="store_true",
123123
help="only collect tests, don't execute them.",
124-
),
124+
)
125125
group.addoption(
126126
"--pyargs",
127127
action="store_true",

0 commit comments

Comments
 (0)