Skip to content

Commit

Permalink
refactor test_readme again
Browse files Browse the repository at this point in the history
  • Loading branch information
cospectrum committed Jan 5, 2025
1 parent e0001b6 commit 23ab48b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

def test_readme() -> None:
readme_path = Path("./README.md")
scripts = parse_readme_code(readme_path, "```python", "```")
scripts = parse_readme_code(readme_path, "```python\n", "```\n")
scripts += parse_readme_code(readme_path, "```py\n", "```\n")
assert len(scripts) > 0
for script in scripts:
print("\n# executing the following script")
Expand Down

0 comments on commit 23ab48b

Please sign in to comment.