You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/utils
Sloane Hertel 48dfe8e215
add Python 3.12 support to ansible-test (#80834)
* update docker containers versions to use newer ansible-test ref in the pre-built venvs

* Allow invoking ansible-test with Python 3.12

* Add python3.12 to the INTERPRETER_PYTHON_FALLBACK

* changelog

* add Python 3.12 as a non-default Python version for the test containers

* Update mypy ignores for Python 3.12

* Add Python 3.12 to CI matrix for unit tests, generic tests, and galaxy

* Update unit test for using the Python 2 collection loader path with Python 3.

Skip the existing test on Python 3.12, since find_module is removed.

Suppress the pre-existing deprecation warnings using the Python 2
codepath with Python 3.

Add a test for Python >= 3.12, which doesn't call find_module.

* Ignore sanity test errors on systems without libselinux present.
1 year ago
..
collection_loader add Python 3.12 support to ansible-test (#80834) 1 year ago
display Remove unreachable code in curses unit test (#81138) 1 year ago
__init__.py
test_cleanup_tmp_file.py Clean up unit test boilerplate. 5 years ago
test_context_objects.py
test_display.py display, also proxy warnings and deprecations (#81060) 1 year ago
test_encrypt.py use passlib default if `password_hash` option isn't set (#75043) 3 years ago
test_helpers.py Clean up unit test boilerplate. 5 years ago
test_isidentifier.py
test_plugin_docs.py Add deprecation collection name to plugin options (#71735) 4 years ago
test_shlex.py Clean up unit test boilerplate. 5 years ago
test_unsafe_proxy.py Fix pointless statements in unit tests (#79940) 2 years ago
test_vars.py Use unittest.mock instead of mock. (#77883) 3 years ago
test_version.py Vendor `distutils.version` (#74644) 4 years ago