Skip to content

Commit

Permalink
try RTD fix: fix mock_qtwidgets import v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed Aug 31, 2017
1 parent 03d2f69 commit 1d310f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
if on_rtd:
html_theme = 'default'

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

from unittest.mock import MagicMock
import mock_qtwidgets

Expand Down
2 changes: 0 additions & 2 deletions msl/qt/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from msl.qt import prompt
from msl.qt.io import get_icon

import pprint
pprint.pprint(dir(QtWidgets))

class Logger(logging.Handler, QtWidgets.QWidget):

Expand Down

0 comments on commit 1d310f5

Please sign in to comment.