Remove scheduler._pending_callbacks
This member variable is:
* Private
* Undocumented
* Untested
* Read from but never written to
Let's remove it
@@ -232,7 +232,6 @@ class Scheduler(object):
self._writes = collections.OrderedDict()
self._pending_coros = []
- self._pending_callbacks = []
self._pending_triggers = []
self._pending_threads = []
self._pending_events = [] # Events we need to call set on once we've unwound
@@ -699,10 +698,6 @@ class Scheduler(object):
while self._pending_coros:
self.add(self._pending_coros.pop(0))
- while self._pending_callbacks:
- self._pending_callbacks.pop(0)()
-
-
def finish_test(self, test_result):
"""Cache the test result and set the terminate flag."""
self.log.debug("finish_test called with %s" % (repr(test_result)))
