[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-07-26 02:14:35 +00:00
parent a3374b8d5c
commit 9d7dcae9d2

View File

@@ -96,7 +96,9 @@ class NodeManager:
self.config.hook.pytest_xdist_setupnodes(config=self.config, specs=self.specs)
self.trace("setting up nodes")
with ThreadPoolExecutor(max_workers=len(self.specs)) as executor:
futs = [executor.submit(self.setup_node, spec, putevent) for spec in self.specs]
futs = [
executor.submit(self.setup_node, spec, putevent) for spec in self.specs
]
return [f.result() for f in futs]
def setup_node(