Changed mock

This commit is contained in:
Alan Saul 2013-01-31 14:40:32 +00:00
parent 00fa1d64e5
commit 93f5e1c42b

View file

@ -116,7 +116,7 @@ class Mock(object):
MOCK_MODULES = ['pylab', 'matplotlib']#'matplotlib', 'matplotlib.color', 'matplotlib.pyplot', 'pylab' ]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
sys.modules[mod_name] = Mock()
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the