mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-27 08:23:23 +03:00
Remove unrunnable code
This commit is contained in:
parent
c05099f45c
commit
e6864d16a8
|
@ -21,7 +21,6 @@ if ImageQt.qt_is_installed:
|
||||||
from PySide.QtGui import QWidget, QHBoxLayout, QLabel, QApplication
|
from PySide.QtGui import QWidget, QHBoxLayout, QLabel, QApplication
|
||||||
QT_VERSION = 4
|
QT_VERSION = 4
|
||||||
|
|
||||||
|
|
||||||
class TestToQImage(PillowQtTestCase, PillowTestCase):
|
class TestToQImage(PillowQtTestCase, PillowTestCase):
|
||||||
|
|
||||||
def test_sanity(self):
|
def test_sanity(self):
|
||||||
|
@ -86,15 +85,5 @@ if ImageQt.qt_is_installed:
|
||||||
lbl.setPixmap(pixmap1.copy())
|
lbl.setPixmap(pixmap1.copy())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
app = QApplication(sys.argv)
|
|
||||||
ex = Example()
|
|
||||||
sys.exit(app.exec_())
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user