Skip to content

Commit a3374b8

Browse files
committed
clean up
1 parent 5824f22 commit a3374b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/xdist/workermanage.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ def setup_nodes(
9696
self.config.hook.pytest_xdist_setupnodes(config=self.config, specs=self.specs)
9797
self.trace("setting up nodes")
9898
with ThreadPoolExecutor(max_workers=len(self.specs)) as executor:
99-
futs = [
100-
executor.submit(self.setup_node, spec, putevent) for spec in self.specs
101-
]
99+
futs = [executor.submit(self.setup_node, spec, putevent) for spec in self.specs]
102100
return [f.result() for f in futs]
103101

104102
def setup_node(

0 commit comments

Comments
 (0)