def test_synchronousImplicitChain(self):
        result = object()
        first = defer.succeed(result)
        second = defer.Deferred()
        second.addCallback(lambda ign: first)
        second.callback(None)

        results = []
        first.addCallback(results.append)
        self.assertIdentical(results[0], None)
        second.addCallback(results.append)
        self.assertIdentical(results[1], result)
Select values at particular time of day (e.g. 9:30AM)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/DeferredTestCase.test_synchronousImplicitChain--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/tseries/index.py/DatetimeIndex.indexer_at_time