Skip to content

fix: show correct program name in argparse help/errors#14126

Merged
RonnyPfannschmidt merged 4 commits into
pytest-dev:mainfrom
RonnyPfannschmidt:fix-1764-argparse-program-name
May 25, 2026
Merged

fix: show correct program name in argparse help/errors#14126
RonnyPfannschmidt merged 4 commits into
pytest-dev:mainfrom
RonnyPfannschmidt:fix-1764-argparse-program-name

docs: add pytest.console_main to nitpick_ignore

1c37f29
Select commit
Loading
Failed to load commit list.
PSF Chronographer / Changelog entry succeeded May 25, 2026 in 2s

Chronographer: Good to go

Great! This change has been recorded to the chronicles

You are good at keeping records! Image source: Unsplash ID=bByhWydZLW0

See https://docs.pytest.org/en/latest/contributing.html#preparing-pull-requests for details.
Please, refer to the following document for more details on how to
craft a great change note for inclusion with your pull request:
https://docs.pytest.org/en/latest/contributing.html#preparing-pull-requests

Details

The following news fragments found: [<PatchedFile: changelog/1764.deprecation.rst>, <PatchedFile: changelog/1764.improvement.rst>]

Pattern: re.compile('changelog/(?P<issue_number>[^\\./]+)\.(?P<fragment_type>breaking|deprecation|feature|improvement|bugfix|vendor|doc|packaging|contrib|misc)(\.\d+)?(\.[^\\./]+)*\.rst$')