mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-18 20:01:25 +08:00
feat: PEP 695 type parameter syntax for Python 3.12+
This commit is contained in:
1 parent
28005a5cf6
commit
5b63e63911
6 files changed
+115
-25
No files matched your search
+12
@@ -145,3 +145,15 @@ def works_ge_py38(each_version):
|
||||
def works_ge_py39(each_version):
|
||||
version_info = parse_version_string(each_version)
|
||||
return Checker(each_version, version_info >= (3, 9))
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def works_ge_py312(each_version):
|
||||
version_info = parse_version_string(each_version)
|
||||
return Checker(each_version, version_info >= (3, 12))
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def works_ge_py313(each_version):
|
||||
version_info = parse_version_string(each_version)
|
||||
return Checker(each_version, version_info >= (3, 13))
|
||||
Reference in new issue
Block a user