DOC: remove Mock
#
import os
import sys
-from mock import Mock as MagicMock
-class Mock(MagicMock):
- @classmethod
- def __getattr__(cls, name):
- return MagicMock()
-
-
-MOCK_MODULES = ['photutils', 'astropy', 'astropy.stats', 'astropy.convolution',
- 'astropy.io', 'astropy.modeling', 'astropy.table',
- 'astropy.coordinates', 'astropy.time', 'astropy.units', 'pyds9',
- 'matplotlib', 'matplotlib.externals', 'matplotlib.pyplot',
- 'matplotlib.ticker', 'matplotlib.mlab', 'matplotlib.colors',
- 'matplotlib.cm', 'pandas', 'pandas.core']
-sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
-
sys.path.insert(0, os.path.abspath('../../vip_hci/'))
