diff --git a/Tests/test_image_toqimage.py b/Tests/test_image_toqimage.py index 5afb9a9f4..f7580aed1 100644 --- a/Tests/test_image_toqimage.py +++ b/Tests/test_image_toqimage.py @@ -21,7 +21,6 @@ if ImageQt.qt_is_installed: from PySide.QtGui import QWidget, QHBoxLayout, QLabel, QApplication QT_VERSION = 4 - class TestToQImage(PillowQtTestCase, PillowTestCase): def test_sanity(self): @@ -86,15 +85,5 @@ if ImageQt.qt_is_installed: lbl.setPixmap(pixmap1.copy()) - - -def main(): - app = QApplication(sys.argv) - ex = Example() - sys.exit(app.exec_()) - - - - if __name__ == '__main__': unittest.main()