Remove outdated version check

This commit is contained in:
Florian Bruhin 2024-10-22 18:10:19 +02:00
parent ad29c973f8
commit d49675eeed
1 changed files with 2 additions and 6 deletions

View File

@ -350,12 +350,8 @@ def apply_fake_os(monkeypatch, request):
@pytest.fixture(scope='session', autouse=True)
def check_yaml_c_exts():
"""Make sure PyYAML C extensions are available on CI.
Not available yet with a nightly Python, see:
https://github.com/yaml/pyyaml/issues/630
"""
if testutils.ON_CI and sys.version_info[:2] != (3, 11):
"""Make sure PyYAML C extensions are available on CI."""
if testutils.ON_CI:
from yaml import CLoader # pylint: disable=unused-import