From 8b2748269244304854b3462cb8902952b4dcb892 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Thu, 2 Feb 2023 11:51:48 +1100 Subject: top: Update Python formatting to black "2023 stable style". See https://black.readthedocs.io/en/stable/the_black_code_style/index.html Signed-off-by: Jim Mussared --- tests/extmod/uasyncio_exception.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/extmod/uasyncio_exception.py') diff --git a/tests/extmod/uasyncio_exception.py b/tests/extmod/uasyncio_exception.py index aae55d6320..4e4f978dc2 100644 --- a/tests/extmod/uasyncio_exception.py +++ b/tests/extmod/uasyncio_exception.py @@ -9,6 +9,7 @@ except ImportError: print("SKIP") raise SystemExit + # main task raising an exception async def main(): print("main start") @@ -21,6 +22,7 @@ try: except ValueError as er: print("ValueError", er.args[0]) + # sub-task raising an exception async def task(): print("task start") @@ -40,6 +42,7 @@ try: except ValueError as er: print("ValueError", er.args[0]) + # main task raising an exception with sub-task not yet scheduled # TODO not currently working, task is never scheduled async def task(): -- cgit v1.2.3