jabbera commented on code in PR #41316:
URL: https://github.com/apache/airflow/pull/41316#discussion_r1707726137


##########
tests/operators/test_python.py:
##########
@@ -272,6 +272,18 @@ def func(dag):
         with pytest.raises(ValueError, match=error_message):
             ti.run()
 
+    def test_unpack_operator_kwargs(self):
+        """Makes sure that keyword arguments are not continually processed 
after an unpack operator."""
+
+        error_message = "Should be run"
+
+        def func(*unpacked_args, keyword_only_arg):
+            raise RuntimeError(error_message)

Review Comment:
   This could be a pass, but it doesn't actually ensure the method is actually 
run.



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