File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 14
14
15
15
import sys
16
16
import os
17
- from unittest .mock import MagicMock
17
+ # from unittest.mock import MagicMock
18
18
19
19
sys .path .insert (0 , os .path .abspath ("../.." ))
20
20
21
21
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)
29
29
30
30
# If extensions (or modules to document with autodoc) are in another directory,
31
31
# add these directories to sys.path here. If the directory is relative to the
You can’t perform that action at this time.
0 commit comments