mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Mark test that needs system python 3.8
This commit is contained in:
parent
7002d97afd
commit
198758a47b
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
|
||||
import pytest
|
||||
|
||||
from tests.pytests.integration.ssh.test_slsutil import check_system_python_version
|
||||
from tests.support.case import SSHCase
|
||||
|
||||
pytestmark = [
|
||||
|
@ -43,6 +44,9 @@ pytestmark = [
|
|||
# has been deprecated since Python 3.7, so, the logic goes into trying to import
|
||||
# backports.ssl-match-hostname which is not installed on the system.
|
||||
),
|
||||
pytest.mark.skipif(
|
||||
not check_system_python_version(), reason="Needs system python >= 3.8"
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue