1. Miha Stajdohar
  2. orange-modelmaps


Miha Stajdohar  committed db5d987

Added mock modules to docs.

  • Participants
  • Parent commits fed9b51
  • Branches default

Comments (0)

Files changed (1)

File docs/rst/conf.py

View file
  • Ignore whitespace
 # 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