Add numpy.linalg as a mock module for API docs.

\cc @Godrek
This commit is contained in:
Brandon Amos 2016-06-07 16:49:35 -04:00
parent fe387e175d
commit 7800460ad7
No known key found for this signature in database
GPG Key ID: E9B7164CB72D6B6F
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import os
sys.path.insert(0, os.path.abspath('..')) 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: for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.MagicMock() sys.modules[mod_name] = mock.MagicMock()