File: pytest-asyncio-1.1.0.patch

package info (click to toggle)
python-fakeredis 2.29.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,820 kB
  • sloc: python: 18,993; sh: 8; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 847 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Michael Seifert <m.seifert@digitalernachschub.de>
Date: Fri, 8 Aug 2025 16:27:12 +0200
Subject: chore: Update test dependency on pytest-asyncio to v1.1.0

[cjwatson: Dropped packaging changes; we just need the fixture patch.]

Origin: backport, https://github.com/cunla/fakeredis-py/pull/404
Last-Update: 2025-09-16
---
 test/conftest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/conftest.py b/test/conftest.py
index 1d95cc4..4f7508c 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -17,7 +17,7 @@ def _check_lua_module_supported() -> bool:
         return False
 
 
-@pytest_asyncio.fixture(scope="session")
+@pytest.fixture(scope="session")
 def real_server_details() -> Tuple[str, Union[None, Tuple[int, ...]]]:
     """Returns server's version or exit if server is not running"""
     client = None