prettier test output
This commit is contained in:
parent
c7438403e0
commit
fc575696ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user