mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-09-12 20:33:49 +00:00
👷 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:
co-authored by
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
f0bc69bd36
commit
6c130cb45f
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user