Add numpy.linalg as a mock module for API docs.
\cc @Godrek
This commit is contained in:
parent
fe387e175d
commit
7800460ad7
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue