Fix ansible-tests for devel branch

Ignore for now deprecation warnings
(see https://github.com/ansible-collections/overview/issues/45#issuecomment-628262697)
Current there are bugs in ansible-test that prevent to run these
tests.

Change-Id: I9829bb23a45699e61d7b0af5ecc3e1a94bbbca85
This commit is contained in:
Sagi Shnaidman
2020-06-01 11:44:13 +03:00
parent f89644973d
commit 7e4fbcf568
5 changed files with 11 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ if sys.version_info >= (3,) and sys.version_info < (3, 4, 4):
global file_spec
if file_spec is None:
import _io # pylint: disable=import-outside-toplevel
import _io # noqa
file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
if mock is None: