From f4f4718c5620ed92e7b11f9269d29452ced0e7dc Mon Sep 17 00:00:00 2001 From: crusaderky Date: Wed, 10 May 2023 17:00:45 +0100 Subject: [PATCH] lint #6496 (#7828) --- distributed/utils_test.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/distributed/utils_test.py b/distributed/utils_test.py index fd845a8b221..f4285fc3c1e 100644 --- a/distributed/utils_test.py +++ b/distributed/utils_test.py @@ -970,11 +970,7 @@ async def _cluster_factory(): Worker=Worker, scheduler_kwargs=scheduler_kwargs, worker_kwargs=merge( - { - "death_timeout": min( - 15, int(deadline.remaining) - ) - }, + {"death_timeout": min(15, int(deadline.remaining))}, worker_kwargs, ), )