mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
[PR #11048/ebf45260 backport][stable-12] remove conditional code for old snakes (#11050)
remove conditional code for old snakes (#11048)
* remove conditional code for old snakes
* remove conditional code for old snakes
* reformat
* add changelog frag
(cherry picked from commit ebf45260ce)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -12,12 +12,8 @@ from ansible_collections.community.internal_test_tools.tests.unit.plugins.module
|
||||
)
|
||||
from unittest.mock import patch
|
||||
import pytest
|
||||
import sys
|
||||
|
||||
dnsimple = pytest.importorskip("dnsimple")
|
||||
mandatory_py_version = pytest.mark.skipif(
|
||||
sys.version_info < (3, 6), reason="The dnsimple dependency requires python3.6 or higher"
|
||||
)
|
||||
|
||||
from dnsimple import DNSimpleException
|
||||
|
||||
|
||||
Reference in New Issue
Block a user