Skip to content

Commit 4e8cbff

Browse files
committed
remove unused function from dsession.py
1 parent 7ef7bd6 commit 4e8cbff

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/xdist/dsession.py

-8
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,6 @@ def is_node_finishing(self, node: WorkerController) -> bool:
192192
return pending is not None and len(pending) < 2
193193

194194

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-
203195
def are_all_nodes_finishing(self) -> bool:
204196
"""Check if all workers are finishing (See 'is_node_finishing' above)."""
205197
assert self.sched is not None

0 commit comments

Comments
 (0)