o-nikolas commented on code in PR #69989:
URL: https://github.com/apache/airflow/pull/69989#discussion_r3616534380


##########
devel-common/src/tests_common/pytest_plugin.py:
##########
@@ -3107,7 +3107,7 @@ def test_something(listener_manager):
         get_sdk_lm = None
 
     core_lm = get_core_lm()
-    sdk_lm = get_sdk_lm() if get_sdk_lm else None
+    sdk_lm = get_sdk_lm() if get_sdk_lm is not None else None

Review Comment:
   This is actually a mypy fix. We now cache the listener managers at a lower 
layer and so mypy is running on this function when it wasn't before.



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