We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ef7bd6 commit 4e8cbffCopy full SHA for 4e8cbff
src/xdist/dsession.py
@@ -192,14 +192,6 @@ def is_node_finishing(self, node: WorkerController) -> bool:
192
return pending is not None and len(pending) < 2
193
194
195
- def is_node_clear(self, node: WorkerController) -> bool:
196
- """Check if a test worker has no pending tests."""
197
- assert self.sched is not None
198
- assert type(self.sched) is CustomGroup
199
- pending = self.sched.node2pending.get(node)
200
- return pending is None or len(pending) == 0
201
-
202
203
def are_all_nodes_finishing(self) -> bool:
204
"""Check if all workers are finishing (See 'is_node_finishing' above)."""
205
assert self.sched is not None
0 commit comments