File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -1252,7 +1252,7 @@ def fn() -> bool:
1252
1252
assert retry_until (
1253
1253
fn ,
1254
1254
1 ,
1255
- ), f' Should{ " " if should_see else " not " } output in captured pane'
1255
+ ), f" Should{ ' ' if should_see else ' not ' } output in captured pane"
1256
1256
1257
1257
1258
1258
@pytest .mark .parametrize (
@@ -1444,9 +1444,9 @@ def width(p: Pane) -> int:
1444
1444
assert all (
1445
1445
main_horizontal_pane_height != pane_height for pane_height in pane_heights
1446
1446
), "The top row should not be the same size as the bottom row (even though it can)"
1447
- assert all (
1448
- pane_heights [ 0 ] == pane_height for pane_height in pane_heights
1449
- ), "The bottom row should be uniform height"
1447
+ assert all (pane_heights [ 0 ] == pane_height for pane_height in pane_heights ), (
1448
+ "The bottom row should be uniform height"
1449
+ )
1450
1450
assert width (main_horizontal_pane ) > width (panes [0 ])
1451
1451
1452
1452
def is_almost_equal (x : int , y : int ) -> bool :
Original file line number Diff line number Diff line change @@ -54,12 +54,10 @@ def test_config_to_dict(
54
54
55
55
56
56
@pytest .fixture (scope = "module" )
57
- def multisession_config () -> (
58
- dict [
59
- str ,
60
- dict [str , t .Any ],
61
- ]
62
- ):
57
+ def multisession_config () -> dict [
58
+ str ,
59
+ dict [str , t .Any ],
60
+ ]:
63
61
"""Return loaded multisession teamocil config as a dictionary.
64
62
65
63
Also prevents re-running assertion the loads the yaml, since ordering of
You can’t perform that action at this time.
0 commit comments