👷 CI: 严格约束 test_depend CPython 版本范围 (#3713)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
StarHeart
2025-10-08 20:45:52 +08:00
committed by GitHub
parent f0bc69bd36
commit 6c130cb45f
5 changed files with 33 additions and 31 deletions

View File

@@ -104,6 +104,7 @@ if sys.version_info < (3, 12):
def is_type_alias_type(type_: type[t.Any]) -> bool:
"""判断是否是 TypeAliasType 类型"""
return isinstance(type_, t_ext.TypeAliasType)
else:
def is_type_alias_type(type_: type[t.Any]) -> bool: