From 2067b97739ac7ea01e90d052cf38626fed1e9093 Mon Sep 17 00:00:00 2001 From: Johnny Miller Date: Sat, 30 Mar 2024 21:13:03 +0800 Subject: [PATCH] refactor: format test_profiling.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Run pipenv run black --check . would reformat /home/runner/work/python_boilerplate/python_boilerplate/tests/common/test_profiling.py Oh no! 💥 💔 💥 1 file would be reformatted, 70 files would be left unchanged. [skip ci] --- tests/common/test_profiling.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/common/test_profiling.py b/tests/common/test_profiling.py index cbcf9d3..7125557 100644 --- a/tests/common/test_profiling.py +++ b/tests/common/test_profiling.py @@ -51,7 +51,9 @@ def test_time_consuming_function_raising_error() -> None: @pytest.mark.asyncio -async def test_async_time_consuming_function_when_input_doesnt_contain_exception() -> None: +async def test_async_time_consuming_function_when_input_doesnt_contain_exception() -> ( + None +): result: str = await async_time_consuming_function("Hello, World!") assert result is not None assert result == "Done with Hello, World!"