Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AxeldeRomblay committed Jul 5, 2017
1 parent 906a98b commit 3326499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
import sys
import os

from unittest.mock import MagicMock
from mock import Mock as MagicMock

class Mock(MagicMock):
@classmethod
def __getattr__(cls, name):
return MagicMock()
return MagicMock()

MOCK_MODULES = ['lightgbm', 'xgboost','numpy', 'pandas']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
Expand Down

0 comments on commit 3326499

Please sign in to comment.