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
🇺🇦 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
..
_vendor Require `from __future__ import annotations` (#81902) 2 years ago
ansible_test ansible-test - Fix interactive cmd traceback (#84264) 1 year ago
cli fix incongruent ansible-vault cli options (#84494) 12 months ago
config Fix condition for unquoting configuration strings from ini files (#82388) 2 years ago
errors Update triple single quotes to triple double quotes (#84099) 1 year ago
executor Remove deprecated pycompat24 and importlib (#84161) 1 year ago
galaxy Fix `is_pinned` property of `Requirement` (#81812) 11 months ago
inventory Update triple single quotes to triple double quotes (#84099) 1 year ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Update triple single quotes to triple double quotes (#84099) 1 year ago
module_utils 🔥 Remove Python 2 datetime compat fallbacks 10 months ago
modules get_url: add support for BSD-style digest (#84485) 12 months ago
parsing test: Remove dead code (#84436) 1 year ago
playbook delay keyword changed from int to float (#83901) 1 year ago
plugins winrm - Remove pexpect kinit code (#84735) 10 months ago
regex Remove Python 2.x compat from unit tests (#82109) 2 years ago
template Fix unit and integration tests (#84554) 12 months ago
utils Remove encrypt unit tests for undocumented algorithms, which are disallowed in 2.19. (#84219) 1 year ago
vars test: Remove unreachable tests (#83696) 1 year ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
requirements.txt Remove Python 3.10 support for the controller (#83221) 2 years ago
test_context.py Require `from __future__ import annotations` (#81902) 2 years ago
test_no_tty.py Require `from __future__ import annotations` (#81902) 2 years ago