summaryrefslogtreecommitdiffstats
path: root/hacking/tests/gen_distribution_version_testcase.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-05-03 17:58:00 +0200
committerGitHub <noreply@github.com>2023-05-03 17:58:00 +0200
commit2cd1744be3d96f1eec674e1b66433c3730caa24f (patch)
tree8ab323420af73f978020366daeedd7c9ccd6f246 /hacking/tests/gen_distribution_version_testcase.py
parentFix os.walk issues in package-data sanity test (#80703) (diff)
downloadansible-2cd1744be3d96f1eec674e1b66433c3730caa24f.tar.xz
ansible-2cd1744be3d96f1eec674e1b66433c3730caa24f.zip
Use ansible.module_utils.common.text.converters (#80704)
Replace use of old `ansible.module_utils._text` and add a unit test to maintain backwards compatibility.
Diffstat (limited to 'hacking/tests/gen_distribution_version_testcase.py')
-rwxr-xr-xhacking/tests/gen_distribution_version_testcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/tests/gen_distribution_version_testcase.py b/hacking/tests/gen_distribution_version_testcase.py
index 2fc5a2f932..e75c78ad91 100755
--- a/hacking/tests/gen_distribution_version_testcase.py
+++ b/hacking/tests/gen_distribution_version_testcase.py
@@ -19,7 +19,7 @@ import subprocess
import sys
from ansible.module_utils import distro
-from ansible.module_utils._text import to_text
+from ansible.module_utils.common.text.converters import to_text
filelist = [