def test_sync(self):
        """
        Call a synchronous method of a L{util.LocalAsRemote} object and check
        the result.
        """
        o = LocalRemoteTest()
        self.assertEqual(o.callRemote("add1", 2), 3)

        Call a synchronous method of a L{util.LocalAsRemote} object and check
        the result.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/spread/test/test_pb.py