mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-03 12:50:25 +08:00
BUG: Workaround to unit tests failing if PyQt4 not available.
This commit is contained in:
1 parent
7490322b8a
commit
e6118a5068
1 file changed
+4
-1
@@ -1 +1,4 @@
|
||||
from viewers import ImageViewer
|
||||
try:
|
||||
from viewers import ImageViewer
|
||||
except ImportError:
|
||||
print("Could not import PyQt4 -- ImageViewer not available.")
|
||||
Reference in new issue
Block a user