Skip to content

Commit 6c3accd

Browse files
committed
Fixed test on Python 3.15.
1 parent 15d75d7 commit 6c3accd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd2/argparse_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ def error(self, message: str) -> NoReturn:
903903

904904
self.exit(2, f"{formatted_message}\n")
905905

906-
def _get_formatter(self) -> Cmd2HelpFormatter:
906+
def _get_formatter(self, **_kwargs: Any) -> Cmd2HelpFormatter:
907907
"""Override with customizations for Cmd2HelpFormatter."""
908908
return self.formatter_class(prog=self.prog, file=self._thread_locals.current_output_file)
909909

0 commit comments

Comments
 (0)