summaryrefslogtreecommitdiffstats
path: root/test/units/utils
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2021-05-11 19:33:51 +0200
committerGitHub <noreply@github.com>2021-05-11 19:33:51 +0200
commit8d1cf7f266d7a81c248838917f8df5475e4439b9 (patch)
tree9d8f03d5522f8cab41a4d1545e9ec5f4df92448d /test/units/utils
parentdocs: Add a note about `crypt` (#74640) (diff)
downloadansible-8d1cf7f266d7a81c248838917f8df5475e4439b9.tar.xz
ansible-8d1cf7f266d7a81c248838917f8df5475e4439b9.zip
Vendor `distutils.version` (#74644)
* Vendor distutils.version * Fix import order. ci_complete * remove distutils warning filter * Don't remove warnings filter from importer * ci_complete * Add pylint config for preventing distutils.version * Add changelog fragment
Diffstat (limited to 'test/units/utils')
-rw-r--r--test/units/utils/test_version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/utils/test_version.py b/test/units/utils/test_version.py
index 7d04c112c5..3c2cbaf4c1 100644
--- a/test/units/utils/test_version.py
+++ b/test/units/utils/test_version.py
@@ -5,7 +5,7 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from distutils.version import LooseVersion, StrictVersion
+from ansible.module_utils.compat.version import LooseVersion, StrictVersion
import pytest