From 5be744ed5538973102d2bf4923e0223c7f31b7f9 Mon Sep 17 00:00:00 2001 From: Grey Li Date: Sun, 27 Feb 2022 21:19:14 +0800 Subject: [PATCH] Format code snippet in testing docs properly --- docs/testing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index 5e9cc1a1..eaf0d920 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -144,9 +144,9 @@ use ``pathlib.Path`` to get files relative to the current test file. def test_edit_user(client): response = client.post("/user/2/edit", data={ - "name":"Flask", - "theme":"dark", - "picture":(resources / "picture.png").open("rb"), + "name": "Flask", + "theme": "dark", + "picture": (resources / "picture.png").open("rb"), }) assert response.status_code == 200