コード例 #1
0
ファイル: test_drawing.py プロジェクト: LKI/PythonScripts
 def test_import(self):
     Image = self.make_one()
     with pytest.raises(ImportError):
         Image._import_image(self.img)
コード例 #2
0
 def test_import(self, Image, datadir):
     datadir.chdir()
     with pytest.raises(ImportError):
         Image._import_image("plain.png")
コード例 #3
0
ファイル: test_drawing.py プロジェクト: graypools/openpyxl
 def test_import(self, Image, datadir):
     datadir.chdir()
     with pytest.raises(ImportError):
         Image._import_image("plain.png")
コード例 #4
0
 def test_import(self):
     Image = self.make_one()
     with pytest.raises(ImportError):
         Image._import_image(self.img)