each: remove incorrect mark_test_pending implementation

This code is bogus copy/paste; presumably it's not executed in practice
so make it raise `NotImplementedError`.
This commit is contained in:
Ran Benita
2024-04-04 01:29:58 +03:00
parent 503c5ee828
commit ef5dcde977

View File

@@ -101,12 +101,7 @@ class EachScheduling:
self.node2pending[node].remove(item_index) self.node2pending[node].remove(item_index)
def mark_test_pending(self, item): def mark_test_pending(self, item):
self.pending.insert( raise NotImplementedError()
0,
self.collection.index(item),
)
for node in self.node2pending:
self.check_schedule(node)
def remove_node(self, node): def remove_node(self, node):
# KeyError if we didn't get an add_node() yet # KeyError if we didn't get an add_node() yet