aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_1091.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtGui/bug_1091.py')
-rw-r--r--tests/QtGui/bug_1091.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/QtGui/bug_1091.py b/tests/QtGui/bug_1091.py
new file mode 100644
index 000000000..b58d26f18
--- /dev/null
+++ b/tests/QtGui/bug_1091.py
@@ -0,0 +1,12 @@
+''' unit test for BUG #1091 '''
+
+import unittest
+from PySide import QtGui
+
+class QPainterTestCase(unittest.TestCase):
+ def testIt(self):
+ self.assertTrue("PixmapFragment" in dir(QtGui.QPainter))
+ self.assertTrue("drawPixmapFragments" in dir(QtGui.QPainter))
+
+if __name__ == "__main__":
+ unittest.main()