mirror of https://github.com/ansible/ansible.git
Fix test failures if 'future' package is installed (#15005)
The python 'future' module provides a 'builtins' package to emulate the py3 'builtins' modules. If installed, the unit tests that reference builtins.__import__ fail because the future 'builtins' is imported and it is missing __import__. Use ansible.compat.six.moves.builtins instead of importing 'builtins' or __builtin__ Fixes #14996pull/21741/head^2
parent
02d2b753db
commit
718b786157
Loading…
Reference in New Issue