mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-02 12:41:06 +08:00
Add attributes to Mock object to fix Travis build
This commit is contained in:
1 parent
87afe3e175
commit
484e5693b2
1 file changed
+7
-2
@@ -5,7 +5,12 @@ if qt_api == 'pyside':
|
||||
elif qt_api == 'pyqt':
|
||||
from PyQt4.QtCore import *
|
||||
else:
|
||||
# Mock objects
|
||||
Qt = None
|
||||
# Mock objects for buildbot (which doesn't have Qt, but imports viewer).
|
||||
class Qt(object):
|
||||
TopDockWidgetArea = None
|
||||
BottomDockWidgetArea = None
|
||||
LeftDockWidgetArea = None
|
||||
RightDockWidgetArea = None
|
||||
|
||||
def pyqtSignal(*args, **kwargs):
|
||||
pass
|
||||
Reference in new issue
Block a user