amoghrajesh commented on code in PR #59711:
URL: https://github.com/apache/airflow/pull/59711#discussion_r2645048015


##########
task-sdk/tests/task_sdk/execution_time/test_task_runner.py:
##########
@@ -351,10 +351,12 @@ def test_parse_module_in_bundle_root(tmp_path: Path, 
make_ti_context):
 
 def test_run_deferred_basic(time_machine, create_runtime_ti, 
mock_supervisor_comms):
     """Test that a task can transition to a deferred state."""
+    from pendulum import datetime
+
     from airflow.providers.standard.sensors.date_time import 
DateTimeSensorAsync
 
     # Use the time machine to set the current time
-    instant = timezone.datetime(2024, 11, 22)
+    instant = datetime(2024, 11, 22, tz="UTC")

Review Comment:
   Oh right, fixed in bf18255de4



-- 
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]

Reply via email to