freeipa/ipatests/pytest_ipa
Alexander Bokovoy 1a2cd7f408 Use datetime.timezone.utc instead of newer datetime.UTC alias
datetime.UTC alias was added in Python 3.11:
https://docs.python.org/3/library/datetime.html#datetime.UTC

datetime.timezone.utc was present since Python 3.2.

Since RHEL 9 is using Python 3.9, use more compatible variant.

Fixes: https://pagure.io/freeipa/issue/9454

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2023-09-29 15:06:33 -04:00
..
integration Use datetime.timezone.utc instead of newer datetime.UTC alias 2023-09-29 15:06:33 -04:00
__init__.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
additional_config.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
beakerlib.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
declarative.py pylint: Fix useless-suppression 2022-03-11 13:37:08 -05:00
deprecated_frameworks.py ipatests: Don't turn Pytest IPA deprecation warnings into errors 2020-07-29 15:10:00 -04:00
nose_compat.py ipatests: Remove no longer needed 'capture' compatibility 2020-04-21 13:24:50 +02:00
slicing.py Make use of Azure Pipeline slicing 2019-07-16 13:23:21 +03:00