Skip to content

Commit

Permalink
fixing docs conf
Browse files Browse the repository at this point in the history
  • Loading branch information
huseinzol05 committed Dec 9, 2018
1 parent 56ab5f5 commit 1909ab1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@

sys.path.insert(0, os.path.abspath('..'))

from unittest.mock import MagicMock
if sys.version_info >= (3, 3):
from unittest.mock import MagicMock
else:
from mock import MagicMock


class Mock(MagicMock):
Expand Down

0 comments on commit 1909ab1

Please sign in to comment.