Skip to content

Commit 0c96eab

Browse files
isidoreJayBazuzi
andcommitted
- B also handles earlier version of python
Co-Authored-By: Jay Bazuzi <jay@bazuzi.com>
1 parent b871302 commit 0c96eab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

approvaltests/approvals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,5 +418,5 @@ def verify_argument_parser(parser: argparse.ArgumentParser,
418418
prog, max_help_position=100, width=200
419419
)
420420
options = options or Options()
421-
scrubber = lambda t: t.replace("options:", "<optional header>:")
421+
scrubber = lambda t: t.replace("options:", "<optional header>:").replace("optional arguments:", "<optional header>:")
422422
verify( parser.format_help(),options=options.with_scrubber(scrubber),)

0 commit comments

Comments
 (0)