Skip to content
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 26, 2025
commit 9d7dcae9d294267d8b303401a9d7847b1a8cb00d
4 changes: 3 additions & 1 deletion src/xdist/workermanage.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ def setup_nodes(
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(
Expand Down
Loading