summaryrefslogtreecommitdiff
path: root/test/sanity
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2022-06-16 08:55:52 -0500
committerGitHub <noreply@github.com>2022-06-16 08:55:52 -0500
commita90f666ab35d5d7f0f6be225b55467ef763b2aa4 (patch)
treea3682aef1475c272c1312aa86b951bac2691e153 /test/sanity
parentd81a519f2589742a3cfd0a8dcd996d9a6b3d5927 (diff)
downloadansible-a90f666ab35d5d7f0f6be225b55467ef763b2aa4.tar.gz
Use ctypes to access shadow, instead of spwd which is deprecated (#78050)
* Use ctypes to access shadow, instead of spwd which is deprecated * Remove sanity ignore * cast to str to satisfy mypy * Add typing.cast polyfill * Appease mypy redefine * Add clog frag
Diffstat (limited to 'test/sanity')
-rw-r--r--test/sanity/ignore.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/sanity/ignore.txt b/test/sanity/ignore.txt
index 75cb27018d..1bae64c168 100644
--- a/test/sanity/ignore.txt
+++ b/test/sanity/ignore.txt
@@ -58,7 +58,6 @@ lib/ansible/modules/sysvinit.py validate-modules:return-syntax-error
lib/ansible/modules/uri.py validate-modules:doc-required-mismatch
lib/ansible/modules/user.py validate-modules:doc-default-does-not-match-spec
lib/ansible/modules/user.py validate-modules:use-run-command-not-popen
-lib/ansible/modules/user.py import-3.11 # spwd is deprecated and will be removed in Python 3.13
lib/ansible/modules/yum.py pylint:disallowed-name
lib/ansible/modules/yum.py validate-modules:parameter-invalid
lib/ansible/modules/yum_repository.py validate-modules:doc-default-does-not-match-spec