From 18240d350c36a80318ba05cd4db3d86d9ed5d0f8 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 1 Mar 2016 14:33:05 -0500 Subject: [PATCH] Adding a skip for the literal_eval test on py3 --- test/units/module_utils/test_basic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/units/module_utils/test_basic.py b/test/units/module_utils/test_basic.py index 424abd8fcf..b69dc0294d 100644 --- a/test/units/module_utils/test_basic.py +++ b/test/units/module_utils/test_basic.py @@ -100,6 +100,7 @@ class TestModuleUtilsBasic(unittest.TestCase): mod = builtins.__import__('ansible.module_utils.basic') @patch.object(builtins, '__import__') + @unittest.skipIf(sys.version_info[0] >= 3, "Python 3 is not supported on targets (yet)") def test_module_utils_basic_import_literal_eval(self, mock_import): def _mock_import(name, *args, **kwargs): try: