From fc575696bafcda3e88b15a18e11ea1595f6216d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilhem=20Faur=C3=A9?= Date: Wed, 26 Apr 2023 14:29:41 +0200 Subject: [PATCH] prettier test output --- spip2md/content.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spip2md/content.py b/spip2md/content.py index 3f8fbfd..dd5cbf0 100644 --- a/spip2md/content.py +++ b/spip2md/content.py @@ -16,10 +16,10 @@ class content: # Parses a file & display its parse tree def test(filename): - print(f"--- Parsing of {filename}") + print(f"--- Parsing of {filename} ---\n") parsed = spipParser.parse(open(path.dirname(__file__) + "/" + filename).read()) print(parsed, "\n") - print(parsed.pretty(), "\n") + print("--- Pretty print : ---\n\n", parsed.pretty(), "\n") # Test