This is an automated email from the ASF dual-hosted git repository.

gopidesu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new d227ef110e1 Move filesystem sensor tests to standard provider (#54635)
d227ef110e1 is described below

commit d227ef110e14001ec7c277f1eb85d0539b66a4fd
Author: GPK <[email protected]>
AuthorDate: Tue Aug 19 00:31:08 2025 +0100

    Move filesystem sensor tests to standard provider (#54635)
---
 .../standard/tests/unit/standard}/sensors/test_filesystem.py        | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/airflow-core/tests/unit/sensors/test_filesystem.py 
b/providers/standard/tests/unit/standard/sensors/test_filesystem.py
similarity index 98%
rename from airflow-core/tests/unit/sensors/test_filesystem.py
rename to providers/standard/tests/unit/standard/sensors/test_filesystem.py
index 6d4f1d82bb4..838564d09cb 100644
--- a/airflow-core/tests/unit/sensors/test_filesystem.py
+++ b/providers/standard/tests/unit/standard/sensors/test_filesystem.py
@@ -24,7 +24,11 @@ from datetime import timedelta
 
 import pytest
 
-from airflow._shared.timezones.timezone import datetime
+try:
+    from airflow.sdk.timezone import datetime
+except ImportError:
+    from airflow.utils.timezone import datetime  # type: ignore[no-redef]
+
 from airflow.exceptions import AirflowSensorTimeout, TaskDeferred
 from airflow.models.dag import DAG
 from airflow.providers.standard.sensors.filesystem import FileSensor

Reply via email to