def test_cancelCalledDelayedCallAsynchronous(self):
        d = Deferred()
        def check():
            try:
                self.assertRaises(error.AlreadyCalled, call.cancel)
            except:
                d.errback()
            else:
                d.callback(None)
        def later():
            reactor.callLater(0, check)
        call = reactor.callLater(0, later)
        return d
Close the window.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_internet.py/TimeTestCase.test_cancelCalledDelayedCallAsynchronous--crossover with--dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/graphics.py/Window.close