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/module_utils
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) df08ed3ef3
🔥 Remove Python 2 datetime compat fallbacks
This patch marks the `ansible.module_utils.compat.datetime` module as deprecated, including `UTC`, `utcfromtimestamp()`  and `utcnow` shims that it provides, scheduling its removal for v2.21.

It also replaces any uses of the compatibility helpers with non-deprecated calls to CPython stdlib.

PR #81874

Co-authored-by: Matt Clay <matt@mystile.com>
10 months ago
..
_internal Add DaemonThreadPoolExecutor impl (#83880) 1 year ago
basic Fixed broken tests (#84088) 1 year ago
common test: fix check_required_by (#84153) 1 year ago
compat 🔥 Remove Python 2 datetime compat fallbacks 10 months ago
facts 🔥 Remove Python 2 datetime compat fallbacks 10 months ago
json_utils Remove Python 2.x compat from unit tests (#82109) 2 years ago
parsing Fixed broken tests (#84088) 1 year ago
urls adding option for form-multipart data to switch multipart encoding (#80566) 1 year ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
conftest.py Remove Python 2 compat (via six) from unit tests 2 years ago
test_api.py Require `from __future__ import annotations` (#81902) 2 years ago
test_connection.py Require `from __future__ import annotations` (#81902) 2 years ago
test_distro.py Remove unused/unreachable unit test code (#82160) 2 years ago
test_text.py Remove Python 2 compat (via six) from unit tests 2 years ago