strictly limit xfail range

This commit is contained in:
StarHeartHunt
2025-10-08 17:26:30 +08:00
parent 9cf6e770cf
commit 55bbabb0d5

View File

@@ -42,6 +42,10 @@ UNKNOWN_PARAM = "Unknown parameter"
@pytest.mark.anyio @pytest.mark.anyio
@pytest.mark.xfail(
((3, 13) <= sys.version_info < (3, 13, 8)) or (3, 14) <= sys.version_info,
reason="CPython Bug, see python/cpython#137317, python/cpython#137862",
)
async def test_depend(app: App): async def test_depend(app: App):
from plugins.param.param_depend import ( from plugins.param.param_depend import (
ClassDependency, ClassDependency,