From 44f2f6c6f99007cdca5453b9164ef3e2e131e2e5 Mon Sep 17 00:00:00 2001 From: Jerin Philip Date: Sat, 19 Feb 2022 13:11:06 +0000 Subject: [PATCH] Apply black formatting again --- bindings/python/tests/test_html.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bindings/python/tests/test_html.py b/bindings/python/tests/test_html.py index 408ed34ac..a70bd828a 100644 --- a/bindings/python/tests/test_html.py +++ b/bindings/python/tests/test_html.py @@ -54,7 +54,8 @@ def get_surrounding_text(element): def has_surrounding_text(element): return [ - text is not None and text.strip() != "" for text in get_surrounding_text(element) + text is not None and text.strip() != "" + for text in get_surrounding_text(element) ] def has_surrounding_spaces(element): @@ -69,7 +70,9 @@ def format_whitespace(slots): def format_element(element): return "<{}{}>".format( element.tag, - "".join(f' {key}="{val}"' for key, val in element.items() if key != "x-test-id"), + "".join( + f' {key}="{val}"' for key, val in element.items() if key != "x-test-id" + ), ) def clean_html(src):