mirror of
https://github.com/datafolklabs/cement.git
synced 2026-02-06 13:56:49 +00:00
Fix RTD
This commit is contained in:
parent
e6092d9f1e
commit
362ea8f00c
@ -49,9 +49,11 @@ class Mock(object):
|
||||
else:
|
||||
return Mock()
|
||||
|
||||
MOCK_MODULES = ['pylibmc', 'pyinotify']
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = Mock()
|
||||
MOCK_MODULES = ['nose', 'pylibmc', 'pyinotify']
|
||||
# for mod_name in MOCK_MODULES:
|
||||
# sys.modules[mod_name] = Mock()
|
||||
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user