From 86a170645780db32ddb43361d0336c31d265c957 Mon Sep 17 00:00:00 2001 From: yogishhg9964 Date: Wed, 30 Jul 2025 13:04:38 +0530 Subject: [PATCH] test: Improve QUERY method test robustness and compatibility --- tests/test_query_method.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_query_method.py b/tests/test_query_method.py index 3741fcbf3..dd48e55d3 100644 --- a/tests/test_query_method.py +++ b/tests/test_query_method.py @@ -13,6 +13,9 @@ from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel +# Ensure compatibility across Python versions +import sys + def test_query_method_basic(): app = FastAPI()