0df6037e8023f36ad673954d27b61266c0397b78,doc/conf.py,,,#,21

Before Change


// If extensions (or modules to document with autodoc) are in another directory,
// add these directories to sys.path here. If the directory is relative to the
// documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(os.path.pardir))
sys.path.insert(1, os.path.abspath("sphinxext"))

// -- General configuration ------------------------------------------------

After Change


        def __getattr__(cls, name):
                return MagicMock()

    MOCK_MODULES = ["cvxopt", "cvxpy", "numexpr", "numpy", "pandas", "scipy", "scikit-learn"]
    sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: sebp/scikit-survival
Commit Name: 0df6037e8023f36ad673954d27b61266c0397b78
Time: 2016-12-26
Author: sebp@k-d-w.org
File Name: doc/conf.py
Class Name:
Method Name:


Project Name: MolSSI/QCEngine
Commit Name: 86657ce824ee70a03b43f218de2220bd36fefc4e
Time: 2018-08-14
Author: malorian@me.com
File Name: qcengine/tests/test_config.py
Class Name:
Method Name: opt_state_auto


Project Name: MolSSI/QCEngine
Commit Name: fcb2a9e425f2bc873f3f32072b251de63a6e7edc
Time: 2018-08-14
Author: malorian@me.com
File Name: qcengine/tests/test_config.py
Class Name:
Method Name: opt_state_basic