Skip to content

Commit

Permalink
readthedocs still not importing
Browse files Browse the repository at this point in the history
  • Loading branch information
David committed May 28, 2018
1 parent ffaa779 commit 1aef0fd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,6 @@
# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../'))

import sys
from unittest.mock import MagicMock

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

MOCK_MODULES = ['numpy', 'pandas', 'hpfrec.cython_loops']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

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

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down

0 comments on commit 1aef0fd

Please sign in to comment.