def test_maybeDeferredAsync(self):
        d = defer.Deferred()
        d2 = defer.maybeDeferred(lambda: d)
        d.callback('Success')
        return d2.addCallback(self.assertEquals, 'Success')
Core scheduling method; called by the current Actor process when
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/DeferredTestCase.test_maybeDeferredAsync--crossover with--dataset/ETHPy150Open godaddy/Thespian/thespian/system/transport/MultiprocessQueueTransport.py/MultiprocessQueueTransport._runWithExpiry