uranusjr commented on code in PR #37138:
URL: https://github.com/apache/airflow/pull/37138#discussion_r1475586114


##########
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:
   I guess it’s fine since the tests never complained before this, but 
`data_interval_end` is documented (and is in reality) an aware Pendulum 
DateTime in UTC.



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to