File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
google/pubsub_v1/services Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -711,8 +711,8 @@ def __init__(
711711 if isinstance (transport , str ) or transport is None
712712 else cast (Callable [..., PublisherTransport ], transport )
713713 )
714-
715714 # initialize with the provided callable or the passed in class
715+
716716 emulator_host = os .environ .get ("PUBSUB_EMULATOR_HOST" )
717717 if emulator_host :
718718 if issubclass (transport_init , type (self )._transport_registry ["grpc" ]):
Original file line number Diff line number Diff line change @@ -665,8 +665,6 @@ def __init__(
665665 )
666666 # initialize with the provided callable or the passed in class
667667
668- # TODO(https://github.com/googleapis/python-pubsub/issues/1349): Move the emulator
669- # code below to test files.
670668 emulator_host = os .environ .get ("PUBSUB_EMULATOR_HOST" )
671669 if emulator_host :
672670 if issubclass (transport_init , type (self )._transport_registry ["grpc" ]):
You can’t perform that action at this time.
0 commit comments