From 40b2c6c5d7603534b3665ec42b93ccc6a4e848f1 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Mon, 24 Jul 2023 18:45:31 +0200 Subject: [PATCH] Fix black --- tests/test_core.py | 4 +--- tests/test_flask.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/test_core.py b/tests/test_core.py index b01ed80..efaf8ef 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -227,9 +227,7 @@ async def factory_cleanup(): yield 42 assert svcs.RegisteredService(object, factory, None).is_async - assert svcs.RegisteredService( - object, factory_cleanup, None - ).is_async + assert svcs.RegisteredService(object, factory_cleanup, None).is_async def test_is_async_nope(self): """ diff --git a/tests/test_flask.py b/tests/test_flask.py index 692f3bd..59c1904 100644 --- a/tests/test_flask.py +++ b/tests/test_flask.py @@ -96,9 +96,7 @@ def test_overwrite_factory(self, container): """ It's possible to overwrite an already registered type using a factory. """ - svcs.flask.replace_value( - Interface, Interface(), ping=lambda _: None - ) + svcs.flask.replace_value(Interface, Interface(), ping=lambda _: None) assert isinstance(svcs.flask.get(Interface), Interface)