File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 88from pathlib import Path
99import re
1010import sys
11- import time
1211from typing import Any
1312from typing import Callable
1413from typing import Literal
@@ -96,14 +95,11 @@ def setup_nodes(
9695 ) -> list [WorkerController ]:
9796 self .config .hook .pytest_xdist_setupnodes (config = self .config , specs = self .specs )
9897 self .trace ("setting up nodes" )
99- t = time .monotonic ()
10098 with ThreadPoolExecutor (max_workers = len (self .specs )) as executor :
10199 futs = [
102100 executor .submit (self .setup_node , spec , putevent ) for spec in self .specs
103101 ]
104- ret = [f .result () for f in futs ]
105- print ("setup_nodes took %.3f seconds" % (time .monotonic () - t ))
106- return ret
102+ return [f .result () for f in futs ]
107103
108104 def setup_node (
109105 self ,
You can’t perform that action at this time.
0 commit comments