hussein-awala commented on code in PR #40766:
URL: https://github.com/apache/airflow/pull/40766#discussion_r1676860513


##########
tests/sensors/test_time_delta.py:
##########
@@ -57,7 +58,8 @@ def setup_method(self):
     @pytest.mark.parametrize(
         "data_interval_end, delta, should_deffer",
         [
-            (REFERENCE_TIME.add(hours=-1), timedelta(hours=1), False),
+            (copy(REFERENCE_TIME).add(hours=-1), timedelta(hours=1), False),

Review Comment:
   Mu first attempt was with this:
   ```suggestion
               (REFERENCE_TIME.add(hours=-1, minutes=-1), timedelta(hours=1), 
False),
   ```
   But later when it worked locally with -1 hour I removed the -1 minute, but I 
believe adding it will solve the issue



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