def __init__(self, stream=sys.stdout, tbformat='default',
                 realtime=False, publisher=None):
        if TestProtocolClient is None:
            raise Exception("Subunit not available")
        self._subunit = TestProtocolClient(stream)
        self._successful = True
Factory:  construct a topic given its API representation
dataset/ETHPy150Open twisted/twisted/twisted/trial/reporter.py/SubunitReporter.__init__--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/pubsub/topic.py/Topic.from_api_repr