ashb commented on pull request #8836:
URL: https://github.com/apache/airflow/pull/8836#issuecomment-638704799


   ```
   _________ TestDataprocClusterCreateOperator.test_depreciation_warning 
__________
   
   self = 
<tests.providers.google.cloud.operators.test_dataproc.TestDataprocClusterCreateOperator
 testMethod=test_depreciation_warning>
   mock_generator = <MagicMock name='ClusterGenerator' id='140634297598544'>
   mock_signature = <MagicMock name='signature' id='140634283964928'>
   
       @mock.patch(DATAPROC_PATH.format("inspect.signature"))
       @mock.patch(DATAPROC_PATH.format("ClusterGenerator"))
       def test_depreciation_warning(self, mock_generator, mock_signature):
   >       mock_signature.return_value.parameters = cluster_params
   
   tests/providers/google/cloud/operators/test_dataproc.py:185: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
   /usr/local/lib/python3.8/unittest/mock.py:526: in __get_return_value
       ret = self._get_child_mock(
   /usr/local/lib/python3.8/unittest/mock.py:1025: in _get_child_mock
       return klass(**kw)
   /usr/local/lib/python3.8/unittest/mock.py:408: in __new__
       sig = inspect.signature(NonCallableMock.__init__)
   /usr/local/lib/python3.8/unittest/mock.py:1081: in __call__
       return self._mock_call(*args, **kwargs)
   /usr/local/lib/python3.8/unittest/mock.py:1085: in _mock_call
       return self._execute_mock_call(*args, **kwargs)
   /usr/local/lib/python3.8/unittest/mock.py:1157: in _execute_mock_call
       return self.return_value
   /usr/local/lib/python3.8/unittest/mock.py:526: in __get_return_value
       ret = self._get_child_mock(
   E   RecursionError: maximum recursion depth exceeded
   !!! Recursion detected (same locals & position)
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to