diff --git a/_test/test_links.py b/_test/test_links.py index 0bd5ec25..a93f1053 100644 --- a/_test/test_links.py +++ b/_test/test_links.py @@ -89,7 +89,7 @@ def test_links(dir, file): if i[0] == "/": assert i[1:] in permalinks else: - assert i.endswith(".md") + assert i.endswith(".md") or i.startswith("#") assert os.path.isfile(os.path.join(dir, i)) # Check that assets exist