Adding a skip for the literal_eval test on py3

This commit is contained in:
James Cammarata 2016-03-01 14:33:05 -05:00
parent 0ea3a9d08d
commit 18240d350c

View file

@ -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: