Mark test that needs system python 3.8

This commit is contained in:
Daniel A. Wozniak 2025-02-18 18:02:52 -07:00
parent 7002d97afd
commit 198758a47b

View file

@ -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"
),
]