]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
remove type hints support-head-3 13509/head
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Thu, 20 Mar 2025 10:19:24 +0000 (10:19 +0000)
committerMarcelo Trylesinski <marcelotryle@gmail.com>
Thu, 20 Mar 2025 10:19:24 +0000 (10:19 +0000)
tests/test_tutorial/test_first_steps/test_tutorial001.py

index b9692bb2c4406210178b40a340126b0adf825d13..54c6cc36ba5702fe4f2d1c4b5447a42724ae4145 100644 (file)
@@ -13,7 +13,7 @@ client = TestClient(app)
         ("/nonexistent", 404, {"detail": "Not Found"}),
     ],
 )
-def test_get_path(path: str, expected_status: int, expected_response: dict[str, str]):
+def test_get_path(path, expected_status, expected_response):
     response = client.get(path)
     assert response.status_code == expected_status
     assert response.json() == expected_response