Skip to content

Commit dc56367

Browse files
committed
1 parent a6f6c72 commit dc56367

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

tests/workspace/test_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ def fn() -> bool:
12521252
assert retry_until(
12531253
fn,
12541254
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"
12561256

12571257

12581258
@pytest.mark.parametrize(
@@ -1444,9 +1444,9 @@ def width(p: Pane) -> int:
14441444
assert all(
14451445
main_horizontal_pane_height != pane_height for pane_height in pane_heights
14461446
), "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+
)
14501450
assert width(main_horizontal_pane) > width(panes[0])
14511451

14521452
def is_almost_equal(x: int, y: int) -> bool:

tests/workspace/test_import_teamocil.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ def test_config_to_dict(
5454

5555

5656
@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+
]:
6361
"""Return loaded multisession teamocil config as a dictionary.
6462
6563
Also prevents re-running assertion the loads the yaml, since ordering of

0 commit comments

Comments
 (0)