From 7800460ad7163f03c0a6c07e58cd5230b87bb8f6 Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Tue, 7 Jun 2016 16:49:35 -0400 Subject: [PATCH] Add numpy.linalg as a mock module for API docs. \cc @Godrek --- api-docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-docs/conf.py b/api-docs/conf.py index 4664f2c..c6c2336 100644 --- a/api-docs/conf.py +++ b/api-docs/conf.py @@ -6,7 +6,7 @@ import os sys.path.insert(0, os.path.abspath('..')) -MOCK_MODULES = ['argparse', 'cv2', 'dlib', 'numpy', 'pandas'] +MOCK_MODULES = ['argparse', 'cv2', 'dlib', 'numpy', 'numpy.linalg', 'pandas'] for mod_name in MOCK_MODULES: sys.modules[mod_name] = mock.MagicMock()