Skip to content

Commit 1a048aa

Browse files
committed
Condense pytest.param lines
Signed-off-by: Ryan Rock <ryan.rock@amd.com>
1 parent d895571 commit 1a048aa

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

tests/v1/executor/test_executor.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,8 @@ def terminate(self) -> None:
7272
@pytest.mark.parametrize(
7373
("shutdown_timeout", "exits_at", "expected_terminate"),
7474
[
75-
pytest.param(
76-
6,
77-
5,
78-
False,
79-
id="worker-exits-before-timeout",
80-
),
81-
pytest.param(
82-
6,
83-
7,
84-
True,
85-
id="worker-exceeds-timeout",
86-
),
75+
pytest.param(6, 5, False, id="worker-exits-before-timeout"),
76+
pytest.param(6, 7, True, id="worker-exceeds-timeout"),
8777
],
8878
)
8979
def test_multiproc_executor_worker_termination_timeout(

0 commit comments

Comments
 (0)