Skip to content

Commit

Permalink
removed mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotcr committed Jun 3, 2021
1 parent c8f21c2 commit 03c5277
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,21 @@

import mock
MOCK_MODULES = ['numpy', 'scipy', 'scipy.sparse', 'scipy.special',
'scipy.stats','sklearn', 'sklearn.preprocessing',
'scipy.stats', 'scipy.stats.distributions', 'sklearn', 'sklearn.preprocessing',
'sklearn.linear_model', 'matplotlib',
'sklearn.datasets', 'sklearn.ensemble', 'sklearn.cross_validation',
'sklearn.feature_extraction', 'sklearn.feature_extraction.text',
'sklearn.metrics', 'sklearn.naive_bayes', 'sklearn.pipeline',
'sklearn.utils', 'pyDOE2',]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
# for mod_name in MOCK_MODULES:
# sys.modules[mod_name] = mock.Mock()

import scipy
import scipy.stats
import scipy.stats.distributions
import lime
import lime.lime_text

import lime.lime_tabular
import lime.explanation
import lime.lime_base
Expand Down

0 comments on commit 03c5277

Please sign in to comment.