You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/15 09:27:54 UTC
[GitHub] [airflow] ashb commented on a change in pull request #21578: Fix cannot pickle module object error in PythonVirtualenvOperator
ashb commented on a change in pull request #21578:
URL: https://github.com/apache/airflow/pull/21578#discussion_r806622761
##########
File path: tests/operators/test_python.py
##########
@@ -999,6 +999,21 @@ def test_lambda(self):
with pytest.raises(AirflowException):
PythonVirtualenvOperator(python_callable=lambda x: 4, task_id='task', dag=self.dag)
+ def test_system_site_packages_with_wildcard_callable(self):
+ def mycallable(**kwargs):
Review comment:
This is...... surprising. Like why would `**kwargs` and site packages cause this behaviour?!
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org