aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qtgui/qdatastream_gui_operators_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtgui/qdatastream_gui_operators_test.py')
-rw-r--r--tests/qtgui/qdatastream_gui_operators_test.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/qtgui/qdatastream_gui_operators_test.py b/tests/qtgui/qdatastream_gui_operators_test.py
new file mode 100644
index 000000000..7d46984ff
--- /dev/null
+++ b/tests/qtgui/qdatastream_gui_operators_test.py
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+
+import unittest
+import sys
+
+from PySide import QtGui, QtCore
+
+
+class QAppPresence(unittest.TestCase):
+
+ def testQPixmap(self):
+ ds = QtCore.QDataStream()
+ p = QtGui.QPixmap()
+ ds << p
+ ds >> p
+
+if __name__ == '__main__':
+ app = QtGui.QApplication([])
+ unittest.main()