Commits

Miran Levar committed 9a98640

Added numpy and derivatives to mocked modules.

Comments (0)

Files changed (1)

         else:
             return Mock()
 
-MOCK_MODULES = ['scipy', 'scipy.sparse', 'scipy.optimize']
+MOCK_MODULES = ['numpy', 'numpy.core', 'numpy.core.ma', 'numpy.linalg', 'scipy', 'scipy.sparse', 'scipy.optimize']
 for mod_name in MOCK_MODULES:
     sys.modules[mod_name] = Mock()