Fokko Driesprong created AIRFLOW-1596: -----------------------------------------
Summary: Unify the way how we import Mock Key: AIRFLOW-1596 URL: https://issues.apache.org/jira/browse/AIRFLOW-1596 Project: Apache Airflow Issue Type: Bug Reporter: Fokko Driesprong When looking through the source, there are two ways of importing Mock: https://github.com/apache/incubator-airflow/search?utf8=%E2%9C%93&q=import+mock&type= Just: import mock And: try: from unittest import mock except ImportError: try: import mock except ImportError: mock = None Would be nice to have a consistent way of importing this. -- This message was sent by Atlassian JIRA (v6.4.14#64029)