File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ def launch(
272272 shell : t .Optional ["CLIShellLiteral" ] = "best" ,
273273 use_pythonrc : bool = False ,
274274 use_vi_mode : bool = False ,
275- ** kwargs : "Unpack[LaunchOptionalImports]"
275+ ** kwargs : "Unpack[LaunchOptionalImports]" ,
276276) -> None :
277277 # Also allowing passing shell='code' to force using code.interact
278278 imported_objects = get_launch_args (** kwargs )
Original file line number Diff line number Diff line change @@ -321,14 +321,14 @@ def f() -> bool:
321321 return retry_until (f , raises = False )
322322
323323 for i , pane in enumerate (session .attached_window .panes ):
324- assert assert_last_line (
325- pane , str (i )
326- ), "Initial command did not execute properly/" + str ( i )
324+ assert assert_last_line (pane , str ( i )), (
325+ "Initial command did not execute properly/" + str (i )
326+ )
327327 pane .cmd ("send-keys" , "Up" ) # Will repeat echo
328328 pane .enter () # in each iteration
329- assert assert_last_line (
330- pane , str (i )
331- ), "Repeated command did not execute properly/" + str ( i )
329+ assert assert_last_line (pane , str ( i )), (
330+ "Repeated command did not execute properly/" + str (i )
331+ )
332332
333333 session .cmd ("send-keys" , " echo moo" )
334334 session .cmd ("send-keys" , "Enter" )
Original file line number Diff line number Diff line change @@ -317,9 +317,7 @@ def test_replaces_env_variables(monkeypatch: pytest.MonkeyPatch) -> None:
317317 panes:
318318 - shell_command:
319319 - htop
320- """ .format (
321- TEST_VAR = "${%s}" % env_key
322- )
320+ """ .format (TEST_VAR = "${%s}" % env_key )
323321
324322 sconfig = ConfigReader ._load (format = "yaml" , content = yaml_workspace )
325323
You can’t perform that action at this time.
0 commit comments