aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_882.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtGui/bug_882.py')
-rw-r--r--tests/QtGui/bug_882.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/QtGui/bug_882.py b/tests/QtGui/bug_882.py
new file mode 100644
index 000000000..88f769cbe
--- /dev/null
+++ b/tests/QtGui/bug_882.py
@@ -0,0 +1,13 @@
+from PySide.QtGui import *
+from PySide.QtCore import *
+import os
+
+if "DISPLAY" in os.environ:
+ del os.environ["DISPLAY"]
+
+app = QApplication([], False)
+QTimer.singleShot(0, app.quit)
+app.exec_()
+
+
+