[PR #10327/5a5b2d2e backport][stable-11] remove unnecessary checks for unsupported python versions (#10330)

remove unnecessary checks for unsupported python versions (#10327)

(cherry picked from commit 5a5b2d2eed)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2025-07-02 06:58:13 +02:00
committed by GitHub
parent da3874c96d
commit 6b57b2bb74
4 changed files with 2 additions and 21 deletions

View File

@@ -7,14 +7,8 @@ from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import pytest
import sys
linode_apiv4 = pytest.importorskip('linode_api4')
mandatory_py_version = pytest.mark.skipif(
sys.version_info < (2, 7),
reason='The linode_api4 dependency requires python2.7 or higher'
)
from ansible.errors import AnsibleError
from ansible.parsing.dataloader import DataLoader