mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 10:26:22 +00:00
remove conditional code for old snakes (#11048)
* remove conditional code for old snakes * remove conditional code for old snakes * reformat * add changelog frag
This commit is contained in:
parent
3478863ef0
commit
ebf45260ce
17 changed files with 26 additions and 105 deletions
|
|
@ -22,7 +22,6 @@ try:
|
|||
from .gitlab import (
|
||||
FakeAnsibleModule,
|
||||
GitlabModuleTestCase,
|
||||
python_version_match_requirement,
|
||||
resp_find_runners_all,
|
||||
resp_find_runners_list,
|
||||
resp_find_project_runners,
|
||||
|
|
@ -35,8 +34,7 @@ try:
|
|||
)
|
||||
|
||||
# GitLab module requirements
|
||||
if python_version_match_requirement():
|
||||
from gitlab.v4.objects import Runner
|
||||
from gitlab.v4.objects import Runner
|
||||
except ImportError:
|
||||
pytestmark.append(pytest.mark.skip("Could not load gitlab module required for testing"))
|
||||
# Need to set these to something so that we don't fail when parsing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue