Revert "UT: Hacky workaround in StubDIContainer to get the tests passing for now"

This reverts commit eb4f704597. This was
resolved by 5f91e39 instead.
This commit is contained in:
Mike Salvatore 2022-08-04 10:49:08 -04:00 committed by Shreya Malviya
parent 5f91e39b39
commit 2e05987e7e
1 changed files with 0 additions and 4 deletions

View File

@ -7,10 +7,6 @@ T = TypeVar("T")
class StubDIContainer(DIContainer): class StubDIContainer(DIContainer):
def __init__(self):
super().__init__()
self._convention_registry[(Sequence[str], "local_ip_addresses")] = []
def resolve(self, type_: Type[T]) -> T: def resolve(self, type_: Type[T]) -> T:
try: try:
return super().resolve(type_) return super().resolve(type_)