From a97e26274af279d332297b463be5c08377115492 Mon Sep 17 00:00:00 2001
From: euri10 <benoit.barthelet@gmail.com>
Date: Fri, 29 Nov 2024 16:58:00 +0100
Subject: [PATCH] forgotten async test not marked

---
 docs/examples/testing/test_get_session_data_async.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/examples/testing/test_get_session_data_async.py b/docs/examples/testing/test_get_session_data_async.py
index 35ebd83352..5d1c528f92 100644
--- a/docs/examples/testing/test_get_session_data_async.py
+++ b/docs/examples/testing/test_get_session_data_async.py
@@ -1,3 +1,5 @@
+import pytest
+
 from litestar import Litestar, Request, post
 from litestar.middleware.session.server_side import ServerSideSessionConfig
 from litestar.testing import AsyncTestClient
@@ -13,6 +15,7 @@ def set_session_data(request: Request) -> None:
 app = Litestar(route_handlers=[set_session_data], middleware=[session_config.middleware], debug=True)
 
 
+@pytest.mark.anyio
 async def test_set_session_data() -> None:
     async with AsyncTestClient(app=app, session_config=session_config) as client:
         await client.post("/test")