aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qtgui/qdatastream_gui_operators_test.py
blob: 7d46984ff5e9a6f5f5d8fcef800194dd148156a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()