Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
it is distracting at seeing the warning like when running test: ``` /home/kefu/.local/lib/python3.12/site-packages/pytest_elk_reporter.py:281: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). timestamp=datetime.datetime.utcnow().isoformat(), ``` so, in this change, let's switch to the offset-aware datetime API to silence this warning. Signed-off-by: Kefu Chai <[email protected]>
- Loading branch information