From 88d7f03f78072f1c67d6fed16bbcc73bd483fef1 Mon Sep 17 00:00:00 2001 From: Matt Wilkie Date: Sat, 20 Jun 2015 22:21:02 -0700 Subject: [PATCH] re-enable mock, add `wintypes` to it #48 --- docs/source/conf.py | 6 ++---- docs/source/index.rst.leo | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 2f4ecd3..2b54dde 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -18,11 +18,9 @@ # https://read-the-docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules try: - py3 import - from unittest.mock import MagicMock + from unittest.mock import MagicMock #py3 import except ImportError: - py27 import - from mock import Mock as MagicMock + from mock import Mock as MagicMock #py27 import class Mock(MagicMock): @classmethod diff --git a/docs/source/index.rst.leo b/docs/source/index.rst.leo index 054fd30..962e401 100644 --- a/docs/source/index.rst.leo +++ b/docs/source/index.rst.leo @@ -12,7 +12,7 @@ @persistence @data:@auto conf.py -@gnxs +@gnxs Apt - Read The Docs @@ -27,7 +27,7 @@ gnx: maphew.20150613204824.2 -gnx: maphew.20150613204824.3 +gnx: maphew.20150613204824.3 unl: conf declarations