Skip to content

Commit

Permalink
re-enable mock, add wintypes to it
Browse files Browse the repository at this point in the history
  • Loading branch information
maphew committed Jun 21, 2015
1 parent 5a90771 commit 88d7f03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/source/index.rst.leo
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<vnodes>
<v t="maphew.20150613204824.4"><vh>@persistence</vh>
<v t="maphew.20150613204824.5" a="E"><vh>@data:@auto conf.py</vh>
<v t="maphew.20150620221605.2"><vh>@gnxs</vh></v>
<v t="maphew.20150620221605.4"><vh>@gnxs</vh></v>
</v>
</v>
<v t="maphew.20150601230033.5" a="E"><vh>Apt - Read The Docs</vh>
Expand All @@ -27,7 +27,7 @@
<t tx="maphew.20150613204824.4"></t>
<t tx="maphew.20150613204824.5">gnx: maphew.20150613204824.2
</t>
<t tx="maphew.20150620221605.2">gnx: maphew.20150613204824.3
<t tx="maphew.20150620221605.4">gnx: maphew.20150613204824.3
unl: conf declarations
</t>
</tnodes>
Expand Down

0 comments on commit 88d7f03

Please sign in to comment.