Skip to content

Commit 1909ab1

Browse files
committed
fixing docs conf
1 parent 56ab5f5 commit 1909ab1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

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

20-
from unittest.mock import MagicMock
20+
if sys.version_info >= (3, 3):
21+
from unittest.mock import MagicMock
22+
else:
23+
from mock import MagicMock
2124

2225

2326
class Mock(MagicMock):

0 commit comments

Comments
 (0)