From c1118389cf6f07b45721d7a3287a65d5bc42717e Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Tue, 20 Nov 2018 15:49:29 -0800 Subject: [PATCH] Remove nose usage from a bigip unit test (#48964) --- test/units/modules/network/f5/test_bigip_appsvcs_extension.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/units/modules/network/f5/test_bigip_appsvcs_extension.py b/test/units/modules/network/f5/test_bigip_appsvcs_extension.py index 01d9c8b3c3..296b36453e 100644 --- a/test/units/modules/network/f5/test_bigip_appsvcs_extension.py +++ b/test/units/modules/network/f5/test_bigip_appsvcs_extension.py @@ -8,11 +8,11 @@ __metaclass__ = type import os import json +import pytest import sys -from nose.plugins.skip import SkipTest if sys.version_info < (2, 7): - raise SkipTest("F5 Ansible modules require Python >= 2.7") + pytestmark = pytest.mark.skip("F5 Ansible modules require Python >= 2.7") from ansible.module_utils.basic import AnsibleModule