def test_synchronousError(self):
        """
        Like L{test_asynchronousError}, but for a method which synchronously
        raises a L{pb.Error} subclass.
        """
        return self._exceptionTest(
            'synchronousError', SynchronousError, False)

        Like L{test_asynchronousError}, but for a method which synchronously
        raises a L{pb.Error} subclass.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/spread/test/test_pbfailure.py