Miha Stajdohar  committed db5d987

Added mock modules to docs.

  • Participants
  • Parent commits fed9b51
  • Branches default

Comments (0)

Files changed (1)

File docs/rst/

 # All configuration values have a default; values that are commented out
 # serve to show the default.
+import mock
+MOCK_MODULES = ['numpy', 'scipy', 'matplotlib', 'matplotlib.pyplot', 'scipy.interpolate']
+for mod_name in MOCK_MODULES:
+    sys.modules[mod_name] = mock.Mock()
 import sys, os, os.path
 #rewrite formatargs function with different defaults