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 68bf76dce4e6028bf9fae5009f1b816b10e98dec
3 changes: 2 additions & 1 deletion src/xdist/workermanage.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def setup_nodes(
self.trace("setting up nodes")
with ThreadPoolExecutor(max_workers=len(self.specs)) as executor:
futs = [
executor.submit(self.setup_node, idx, spec, putevent) for idx, spec in enumerate(self.specs)
executor.submit(self.setup_node, idx, spec, putevent)
for idx, spec in enumerate(self.specs)
]
return [f.result() for f in futs]

Expand Down
Loading