From 19cd31926ce7cd4b3d0345d16bad437a12ae399c Mon Sep 17 00:00:00 2001 From: svlandeg Date: Mon, 17 Nov 2025 21:41:42 +0100 Subject: [PATCH] add needs_py311 fixture --- tests/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/utils.py b/tests/utils.py index 691e92bbf..161c3a55c 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -8,6 +8,9 @@ needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires pyth needs_py310 = pytest.mark.skipif( sys.version_info < (3, 10), reason="requires python3.10+" ) +needs_py311 = pytest.mark.skipif( + sys.version_info < (3, 11), reason="requires python3.11+" +) needs_py_lt_314 = pytest.mark.skipif( sys.version_info > (3, 13), reason="requires python3.13-" )