Skip to content

Commit

Permalink
Moved pyrvt import after mocked modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkottke committed Feb 28, 2015
1 parent 6da7888 commit 964e1fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import sys
import os

import pyrvt

from unittest.mock import MagicMock

# Mock modules for modules that depend on C
Expand All @@ -30,6 +28,8 @@ def __getattr__(cls, name):
'matplotlib', 'xlrd', 'xlwt', 'openpyxl']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

import pyrvt

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down

0 comments on commit 964e1fa

Please sign in to comment.