def test_callRemote_cancellation_during_connection(self):
        self.assertFalse(self.endpoint.connected)
        canceled = []
        self.endpoint.deferred = defer.Deferred(canceled.append)
        d = self.factory.callRemote('spam')
        d.cancel()
        self.assert_(canceled)
        self.assertEqual(len(self.flushLoggedErrors(defer.CancelledError)), 1)
        self.failureResultOf(d, defer.CancelledError)
If the cursor is in a diffscuss comment, returns the row of the end of the
dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_netstring.py/ClientTestCase.test_callRemote_cancellation_during_connection--crossover with--dataset/ETHPy150Open hut8labs/diffscuss/diffscuss/support/editor.py/find_thread_end