diff --git a/tests/modules/test_syntax.py b/tests/modules/test_syntax.py index 9dd42c6..a32fb62 100644 --- a/tests/modules/test_syntax.py +++ b/tests/modules/test_syntax.py @@ -217,8 +217,7 @@ dict_advanced_syntax_input_and_expected_output = { # Match any line parsed by the parser (can match header, list table etc...) this is the main syntax element ("# Text1 #", (sy.HeaderToken(["#", "Text1 "]),)), ("Text *bold __underline__ still bold*", ( - sy.TextToken(["Text ", sy.EtStrongToken(["bold", " ", sy.EtUnderlineToken(["underline"]), " still bold"])]),)), - # noqa E501 (line too long) + sy.TextToken(["Text ", sy.EtStrongToken(["bold", " ", sy.EtUnderlineToken(["underline"]), " still bold"])]),)), # noqa E501 (line too long) ("|2 Text1 | Text2 |", (sy.TableRowToken(["|2", "Text1", "|", "Text2", "|"]),)), ("|---|---|", (sy.TableSeparatorToken(["|", "---", "|", "---", "|"]),)), ("- Text", (sy.EtUlistToken([sy.TextToken(["Text"])]),)), @@ -228,7 +227,7 @@ dict_advanced_syntax_input_and_expected_output = { # Cursed zipping oneline zipped_dict_advanced_syntax_input_and_expected_output = [ - ptp(item[0], item[1][0], item[1][1], id=f"{item[0]}@{item[1][0][:8]}") for sublist in [ + ptp(item[0], item[1][0], item[1][1], id=f"{item[0]}@{item[1][0][:8]} @") for sublist in [ zip_longest([key], dict_advanced_syntax_input_and_expected_output[key], fillvalue=key) for key in dict_advanced_syntax_input_and_expected_output.keys() # noqa E501 (line too cursed) ] for item in sublist @@ -266,8 +265,7 @@ list_of_text_input_and_readable_output = [ # noqa E501 (line too long) ("[link]('http://www.google.com')", "il_link", ""), ("Reverse order: (#123) Span, __underline__ ~~strikethrough~~ **emphasis * Strong**", "enhanced_text", - "Reverse order: ( Span, ~~strikethrough~~ emphasis Strong "), - # noqa E501 (line too long) + "Reverse order: ( Span, ~~strikethrough~~ emphasis Strong "), # noqa E501 (line too long) # Structural elements ("<"),