Taragolis commented on code in PR #37138:
URL: https://github.com/apache/airflow/pull/37138#discussion_r1475665219
##########
tests/providers/google/cloud/sensors/test_gcs.py:
##########
@@ -72,7 +72,7 @@ def context():
"""
Creates an empty context.
"""
- context = {"data_interval_end": datetime.utcnow()}
+ context = {"data_interval_end": datetime.now(tz=timezone.utc)}
Review Comment:
You suggest to use `pendulum.DateTime` here? That should not be a problem,
we could use `airflow.utils.timezone.utcnow` here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]