Skip ios_acls unit test on Python 3.5.

This commit is contained in:
Matt Clay 2020-03-01 13:55:58 -08:00
parent 2e38f80f9e
commit e0875f2aef

View file

@ -6,6 +6,15 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import sys
import pytest
# These tests and/or the module under test are unstable on Python 3.5.
# See: https://app.shippable.com/github/ansible/ansible/runs/161331/15/tests
# This is most likely due to CPython 3.5 not maintaining dict insertion order.
pytestmark = pytest.mark.skipif(sys.version_info[:2] == (3, 5), reason="Tests and/or module are unstable on Python 3.5.")
from units.compat.mock import patch
from ansible.modules.network.ios import ios_acls
from units.modules.utils import set_module_args