- Notifications
You must be signed in to change notification settings - Fork1.6k
Closed
Description
__________________________________test_open___________________________________thing=<module'google.cloud.pubsub_v1.subscriber._protocol'from'/tmpfs/src/github/google-cloud-python/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/__init__.py'>comp='bidi',import_path='google.cloud.pubsub_v1.subscriber._protocol.bidi'def_dot_lookup(thing,comp,import_path):try:>returngetattr(thing,comp)EAttributeError:module'google.cloud.pubsub_v1.subscriber._protocol'hasnoattribute'bidi'.nox/default/lib/python3.6/site-packages/mock/mock.py:1197:AttributeErrorDuringhandlingoftheaboveexception,anotherexceptionoccurred:args= (),keywargs= {}extra_args= [<MagicMockname='Heartbeater'spec='Heartbeater'id='140683705172264'>,<MagicMockname='Dispatcher'spec='Dispatcher'id='140683694890848'>,<MagicMockname='Leaser'spec='Leaser'id='140683694889448'>]entered_patchers= [<mock.mock._patchobjectat0x7ff37bea4198>,<mock.mock._patchobjectat0x7ff37bea4be0>,<mock.mock._patchobjectat0x7ff37bea4cc0>]exc_info= (<class'ModuleNotFoundError'>,ModuleNotFoundError("No module named 'google.cloud.pubsub_v1.subscriber._protocol.bidi'",),<tracebackobjectat0x7ff379ab3808>)patching=<mock.mock._patchobjectat0x7ff37bea4198>arg=<MagicMockname='Leaser'spec='Leaser'id='140683694889448'> @wraps(func)defpatched(*args,**keywargs):extra_args= []entered_patchers= []exc_info=tuple()try:forpatchinginpatched.patchings:>arg=patching.__enter__().nox/default/lib/python3.6/site-packages/mock/mock.py:1297:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _.nox/default/lib/python3.6/site-packages/mock/mock.py:1353:in__enter__self.target=self.getter().nox/default/lib/python3.6/site-packages/mock/mock.py:1523:in<lambda>getter=lambda:_importer(target).nox/default/lib/python3.6/site-packages/mock/mock.py:1210:in_importerthing=_dot_lookup(thing,comp,import_path)__ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _thing=<module'google.cloud.pubsub_v1.subscriber._protocol'from'/tmpfs/src/github/google-cloud-python/pubsub/google/cloud/pubsub_v1/subscriber/_protocol/__init__.py'>comp='bidi',import_path='google.cloud.pubsub_v1.subscriber._protocol.bidi'def_dot_lookup(thing,comp,import_path):try:returngetattr(thing,comp)exceptAttributeError:>__import__(import_path)EModuleNotFoundError:Nomodulenamed'google.cloud.pubsub_v1.subscriber._protocol.bidi'.nox/default/lib/python3.6/site-packages/mock/mock.py:1199:ModuleNotFoundError