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 2019/01/10 15:16:36 UTC

[GitHub] potiuk commented on issue #4472: [AIRFLOW-3664] Fix interpreter errors in test_python_operator.py

potiuk commented on issue #4472: [AIRFLOW-3664] Fix interpreter errors in test_python_operator.py
URL: https://github.com/apache/airflow/pull/4472#issuecomment-453131230
 
 
   That's the problem exactly ' if no exception is active in current scope'. Raise only make sense inside 'except' clause - this is the only case where you can have 'active exception'. If you look closely at the methods in the test class - none of the 'raises' can ever be called in 'except' clause 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services