Skip to content

Commit 8cd32fc

Browse files
committed
RTD3
1 parent 46e304d commit 8cd32fc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/source/conf.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414

1515
import sys
1616
import os
17-
from unittest.mock import MagicMock
17+
#from unittest.mock import MagicMock
1818

1919
sys.path.insert(0, os.path.abspath("../.."))
2020

2121

22-
class Mock(MagicMock):
23-
@classmethod
24-
def __getattr__(cls, name):
25-
return Mock()
26-
27-
MOCK_MODULES = [ 'numpy', 'scipy']
28-
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
22+
# class Mock(MagicMock):
23+
# @classmethod
24+
# def __getattr__(cls, name):
25+
# return Mock()
26+
#
27+
# MOCK_MODULES = [ 'numpy', 'scipy']
28+
# sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
2929

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

0 commit comments

Comments
 (0)