Skip to content

Commit

Permalink
remove mock
Browse files Browse the repository at this point in the history
  • Loading branch information
uvchik committed Apr 17, 2018
1 parent 6cf3cb1 commit 90b2ef0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@

import sys
import os
from unittest.mock import MagicMock

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

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

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down

0 comments on commit 90b2ef0

Please sign in to comment.