Skip to content

Commit 0e237df

Browse files
committed
remove scikit-learn sphinx mock
1 parent 7ca7928 commit 0e237df

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ class Mock(MagicMock):
2929
def __getattr__(cls, name):
3030
return MagicMock()
3131

32-
MOCK_MODULES = ['numpy', 'matplotlib', 'matplotlib.pyplot', 'pandas', 'scipy',
33-
'sklearn', 'sklearn.preprocessing']
32+
MOCK_MODULES = ['numpy', 'matplotlib', 'matplotlib.pyplot', 'pandas', 'scipy']
3433
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
3534

3635
# -- General configuration ------------------------------------------------
@@ -177,6 +176,3 @@ def __getattr__(cls, name):
177176
author, 'wfdb', 'One line description of project.',
178177
'Miscellaneous'),
179178
]
180-
181-
182-

0 commit comments

Comments
 (0)