From 93f5e1c42b816b4bb77e94b14b98c246cae203bf Mon Sep 17 00:00:00 2001 From: Alan Saul Date: Thu, 31 Jan 2013 14:40:32 +0000 Subject: [PATCH] Changed mock --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 0166afa9..3a1350bb 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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