Skip to content

Commit cb9628b

Browse files
committed
Update run_examples.py (cztomczak#452)
1 parent a276fd8 commit cb9628b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tools/run_examples.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ def main():
7878
passed.append("gtk3.py")
7979

8080
# pyqt4
81-
if packages["PyQt4"]:
81+
if LINUX:
82+
print("[run_examples.py] PASS: qt.py pyqt4 (Issue #452)")
83+
passed.append("qt.py pyqt4 (Issue #452)")
84+
elif packages["PyQt4"]:
8285
examples.append("qt.py pyqt4")
8386
else:
8487
print("[run_examples.py] PASS: qt.py pyqt4 (PyQt4 not installed)")
@@ -92,7 +95,10 @@ def main():
9295
passed.append("qt.py pyqt5")
9396

9497
# pyside
95-
if packages["PySide"]:
98+
if LINUX:
99+
print("[run_examples.py] PASS: qt.py pyside (Issue #452)")
100+
passed.append("qt.py pyside (Issue #452)")
101+
elif packages["PySide"]:
96102
examples.append("qt.py pyside")
97103
else:
98104
print("[run_examples.py] PASS: qt.py pyside (PySide not installed)")

0 commit comments

Comments
 (0)