1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 import sys
from io import BytesIO, StringIO 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 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 import unittest
from ansible.compat.tests.mock import patch, MagicMock, mock_open, Mock, call from ansible.compat.tests.mock import patch, MagicMock, mock_open, Mock, call