]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/docs/source/conf.py
python: mock out the ctypes library
[notmuch] / bindings / python / docs / source / conf.py
index c7b951859b84116daffac2888422a52488c32716..76610b7d23d222626a9267b806c2a18faaaa8603 100644 (file)
@@ -30,6 +30,7 @@ class Mock(object):
         return Mock() if name not in ('__file__', '__path__') else '/dev/null'
 
 MOCK_MODULES = [
+    'ctypes',
 ]
 for mod_name in MOCK_MODULES:
     sys.modules[mod_name] = Mock()