From 47c550c292a46caf293a68e4ae3067e008aa7b07 Mon Sep 17 00:00:00 2001 From: Evgeniy Blinov <zheni-b@yandex.ru> Date: Thu, 11 Jan 2024 18:18:16 +0300 Subject: [PATCH] an empty line --- exception_escaping/wrapper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/exception_escaping/wrapper.py b/exception_escaping/wrapper.py index 7743938..72aef30 100644 --- a/exception_escaping/wrapper.py +++ b/exception_escaping/wrapper.py @@ -33,6 +33,7 @@ async def async_wrapper(*args: Any, **kwargs: Any) -> Any: def __enter__(self) -> 'Wrapper': if self.default_return is not None: raise SetDefaultReturnValueForDecoratorError('You cannot set a default value for the context manager. This is only possible for the decorator.') + return self def __exit__(self, exception_type: Optional[Type[BaseException]], exception_value: Optional[BaseException], traceback: Optional[TracebackType]) -> bool: