BUG: Workaround to unit tests failing if PyQt4 not available.

This commit is contained in:
Stefan van der Walt
2012-08-24 06:24:41 -07:00
parent 7490322b8a
commit e6118a5068
+4 -1
View File
@@ -1 +1,4 @@
from viewers import ImageViewer
try:
from viewers import ImageViewer
except ImportError:
print("Could not import PyQt4 -- ImageViewer not available.")