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