Fix a test failure when run on a system with python-future installed.

This commit is contained in:
Toshio Kuratomi 2016-10-07 11:12:16 -07:00
parent aa1ec8af17
commit 9265016b95

View file

@ -27,13 +27,9 @@ import os
import sys
from io import BytesIO, StringIO
try:
import builtins
except ImportError:
import __builtin__ as builtins
from units.mock.procenv import ModuleTestCase, swap_stdin_and_argv
from ansible.compat.six.moves import builtins
from ansible.compat.tests import unittest
from ansible.compat.tests.mock import patch, MagicMock, mock_open, Mock, call