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


##########
task-sdk/tests/task_sdk/execution_time/test_supervisor.py:
##########
@@ -4478,6 +4478,22 @@ def 
test_api_client_clears_dag_bag_override_when_dag_is_none():
     finally:
         in_process_api_server.cache_clear()
 
+class TestShouldUseExec:
+    @pytest.mark.parametrize(
+        "platform, config_val, expected",
+        [
+            ("darwin", False, True),
+            ("darwin", True, True),
+            ("linux", False, False),
+            ("linux", True, True),
+        ]
+    )
+    def test_should_use_exec(self, monkeypatch, platform, config_val, 
expected):
+        from airflow.sdk.execution_time import supervisor

Review Comment:
   Top level import pls.



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