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/facts
🇺🇦 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
..
fixtures facts: add facts about x86_64 flags to detect microarchitecture (#83356) 2 years ago
hardware facts: use pagesize for darwin (#84779) 10 months ago
network Update triple single quotes to triple double quotes (#84099) 1 year ago
other Update triple single quotes to triple double quotes (#84099) 1 year ago
system Add openSUSE MicroOS to SUSE family list (#84685) 11 months ago
virtual Coverage for virtual/sunos.py (#84357) 1 year ago
__init__.py Facts Timeout was not settable via ansible.cfg 9 years ago
base.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_ansible_collector.py Cover unit tests with mypy (#84084) 1 year ago
test_collector.py test: update tests (#83686) 1 year ago
test_collectors.py Remove unused unit test code (#82168) 2 years ago
test_date_time.py 🔥 Remove Python 2 datetime compat fallbacks 10 months ago
test_facts.py Typo fixes and other bits and bobs (#83672) 1 year ago
test_sysctl.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_timeout.py Fixed broken tests (#84088) 1 year ago
test_utils.py Remove Python 2.x compat from unit tests (#82109) 2 years ago