diff --git a/docs/tutorials/tests/test_tutorial.py b/docs/tutorials/tests/test_tutorial.py index b24e5612..4e5c4294 100644 --- a/docs/tutorials/tests/test_tutorial.py +++ b/docs/tutorials/tests/test_tutorial.py @@ -2,7 +2,6 @@ import subprocess from mdextractor import extract_md_blocks - print("Doing tutorial tests") lines = "".join(open("Tutorial.md").readlines()) blocks = extract_md_blocks(lines) @@ -11,6 +10,8 @@ if n_blocks == 0: raise ValueError("Did not find any code blocks") for block in blocks: + # strip out extra typing + block = block.strip('bash') # DEBUG: TODO: REMOVE print(f"{block.split()=}") if block.split()[0].endswith(".py"):