Skip to content

Commit d0e6076

Browse files
committed
main: remove ineffective "general" group description
Since this is not the first `getgroup` call on this name, the description is just ignored. It's also not really accurate, as the "general" group contains a bunch of stuff. So let's just keep "general" as the description for now.
1 parent 5e3b7d5 commit d0e6076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757

5858
def pytest_addoption(parser: Parser) -> None:
59-
group = parser.getgroup("general", "Running and selection options")
59+
group = parser.getgroup("general")
6060
group._addoption( # private to use reserved lower-case short option
6161
"-x",
6262
"--exitfirst",

0 commit comments

Comments
 (0)