Skip to content

Commit 1c82296

Browse files
committed
readthedocs mock module
1 parent b8be87b commit 1c82296

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/conf.py

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

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

3536
# -- General configuration ------------------------------------------------

0 commit comments

Comments
 (0)