Fix a test failure when run on a system with python-future installed.
This commit is contained in:
parent
aa1ec8af17
commit
9265016b95
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue