Remove unrunnable code

This commit is contained in:
hugovk 2017-02-19 11:30:16 +02:00
parent d4d5df14ae
commit 941526a831

View File

@ -14,8 +14,6 @@ if ImageQt.qt_is_installed:
from PyQt4 import QtGui
except (ImportError, RuntimeError):
from PySide import QtGui
class TestToQImage(PillowQtTestCase, PillowTestCase):
@ -32,7 +30,6 @@ class TestToQImage(PillowQtTestCase, PillowTestCase):
tempfile = self.tempfile('temp_{}.png'.format(mode))
data.save(tempfile)
def test_segfault(self):
PillowQtTestCase.setUp(self)
@ -59,15 +56,5 @@ if ImageQt.qt_is_installed:
lbl.setPixmap(pixmap1.copy())
def main():
app = QtGui.QApplication(sys.argv)
ex = Example()
sys.exit(app.exec_())
if __name__ == '__main__':
unittest.main()