def test_nonReentrantCallbacks(self):
        deferred = defer.Deferred()
        called = []
        def callback2(result):
            called.append(2)
        def callback1(result):
            called.append(1)
            deferred.addCallback(callback2)
            self.assertEquals(called, [1])
        deferred.addCallback(callback1)
        deferred.callback(None)
        self.assertEqual(called, [1, 2])
Return True if o is on this Line, or False otherwise.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/DeferredTestCase.test_nonReentrantCallbacks--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/geometry/line3d.py/Line3D.contains