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(
272
272
shell : t .Optional ["CLIShellLiteral" ] = "best" ,
273
273
use_pythonrc : bool = False ,
274
274
use_vi_mode : bool = False ,
275
- ** kwargs : "Unpack[LaunchOptionalImports]"
275
+ ** kwargs : "Unpack[LaunchOptionalImports]" ,
276
276
) -> None :
277
277
# Also allowing passing shell='code' to force using code.interact
278
278
imported_objects = get_launch_args (** kwargs )
Original file line number Diff line number Diff line change @@ -321,14 +321,14 @@ def f() -> bool:
321
321
return retry_until (f , raises = False )
322
322
323
323
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
+ )
327
327
pane .cmd ("send-keys" , "Up" ) # Will repeat echo
328
328
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
+ )
332
332
333
333
session .cmd ("send-keys" , " echo moo" )
334
334
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:
317
317
panes:
318
318
- shell_command:
319
319
- htop
320
- """ .format (
321
- TEST_VAR = "${%s}" % env_key
322
- )
320
+ """ .format (TEST_VAR = "${%s}" % env_key )
323
321
324
322
sconfig = ConfigReader ._load (format = "yaml" , content = yaml_workspace )
325
323
You can’t perform that action at this time.
0 commit comments