diff --git a/tests/test_docs.py b/tests/test_docs.py
index fdd44788..17c01a0b 100644
--- a/tests/test_docs.py
+++ b/tests/test_docs.py
@@ -105,7 +105,7 @@ def test_functions_marked_with_documented_are_documented(documented_fns, fn):
# Tests for testing_plugins.rst documentation
-
+# fmt: off
# -- start test_homepage --
@pytest.mark.asyncio
async def test_homepage():
@@ -113,8 +113,6 @@ async def test_homepage():
response = await ds.client.get("/")
html = response.text
assert "
" in html
-
-
# -- end test_homepage --
@@ -124,8 +122,6 @@ async def test_actor_is_null():
ds = Datasette(memory=True)
response = await ds.client.get("/-/actor.json")
assert response.json() == {"actor": None}
-
-
# -- end test_actor_is_null --
@@ -136,6 +132,4 @@ async def test_signed_cookie_actor():
cookies = {"ds_actor": ds.client.actor_cookie({"id": "root"})}
response = await ds.client.get("/-/actor.json", cookies=cookies)
assert response.json() == {"actor": {"id": "root"}}
-
-
# -- end test_signed_cookie_actor --