From: Marcelo Trylesinski Date: Thu, 20 Mar 2025 10:19:24 +0000 (+0000) Subject: remove type hints X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fsupport-head-3;p=thirdparty%2Ffastapi%2Ffastapi.git remove type hints --- diff --git a/tests/test_tutorial/test_first_steps/test_tutorial001.py b/tests/test_tutorial/test_first_steps/test_tutorial001.py index b9692bb2c4..54c6cc36ba 100644 --- a/tests/test_tutorial/test_first_steps/test_tutorial001.py +++ b/tests/test_tutorial/test_first_steps/test_tutorial001.py @@ -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