@@ -2590,7 +2590,7 @@ def complete_help_subcommand(self, text: str, line: str, begidx: int, endidx: in
25902590 func = self .cmd_func (command )
25912591 if func and hasattr (func , 'argparser' ):
25922592 completer = AutoCompleter (getattr (func , 'argparser' ), cmd2_app = self )
2593- matches = completer .complete_command_help (tokens [cmd_index :], text , line , begidx , endidx )
2593+ matches = completer .complete_command_help (tokens [cmd_index :], text , line , begidx , endidx )
25942594
25952595 return matches
25962596
@@ -3129,15 +3129,15 @@ def do_pyscript(self, args: argparse.Namespace) -> None:
31293129 sys .argv = orig_args
31303130
31313131 # Only include the do_ipy() method if IPython is available on the system
3132- if ipython_available :
3132+ if ipython_available : # pragma: no cover
31333133 @with_argparser (ACArgumentParser ())
31343134 def do_ipy (self , _ : argparse .Namespace ) -> None :
31353135 """Enter an interactive IPython shell"""
31363136 from .pyscript_bridge import PyscriptBridge
31373137 bridge = PyscriptBridge (self )
31383138
3139- banner = 'Entering an embedded IPython shell. Type quit() or <Ctrl>-d to exit.\n '
3140- banner += 'Run Python code from external files with: run filename.py\n '
3139+ banner = ( 'Entering an embedded IPython shell. Type quit or <Ctrl>-d to exit.\n '
3140+ 'Run Python code from external files with: run filename.py\n ' )
31413141 exit_msg = 'Leaving IPython, back to {}' .format (sys .argv [0 ])
31423142
31433143 if self .locals_in_py :
0 commit comments