提交 5e8191aa 编写于 作者: K Kentaro Wada

Skip test of annotate_jpg with pyqt4v2

上级 a47e6d8e
......@@ -2,6 +2,8 @@ import os.path as osp
import shutil
import tempfile
import qtpy
import labelme.app
import labelme.config
import labelme.testing
......@@ -28,6 +30,10 @@ def test_MainWindow_open_json(qtbot):
def test_MainWindow_annotate_jpg(qtbot):
if qtpy.QT_VERSION == 'pyqt4v2':
# Fails to load image from JSON on Anaconda + Python2.7 + PyQt4
return
tmp_dir = tempfile.mkdtemp()
filename = osp.join(tmp_dir, 'apc2016_obj3.jpg')
shutil.copy(osp.join(data_dir, 'apc2016_obj3.jpg'),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册