Skip to content

Commit

Permalink
Remove some mock modules from docs/conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
creafz committed Jun 20, 2018
1 parent 63822d0 commit 026f5e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
sys.path.insert(0, os.path.abspath('../'))


MOCK_MODULES = ['numpy', 'scipy', 'cv2', 'imgaug', 'scipy.ndimage', 'scipy.ndimage.filters', 'torch',
'torchvision.transforms', 'torchvision.transforms.functional']
MOCK_MODULES = ['torch', 'torchvision.transforms', 'torchvision.transforms.functional']
for module_name in MOCK_MODULES:
sys.modules[module_name] = mock.Mock()

Expand Down

0 comments on commit 026f5e2

Please sign in to comment.