diff --git a/doc/source/conf.py b/doc/source/conf.py index c74904b6b..0409f3d8d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -47,7 +47,7 @@ class Mock(MagicMock): def __getattr__(cls, name): return Mock() -MOCK_MODULES = ['scipy.linalg.blas', 'blas', 'scipy.linalg', 'scipy', 'scipy.special', 'scipy.integrate'] +MOCK_MODULES = ['scipy.linalg.blas', 'blas', 'scipy.linalg', 'scipy', 'scipy.special', 'scipy.integrate', 'scipy.io'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) # Add any paths that contain templates here, relative to this directory.