summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-08-30 18:14:42 -0300
committerRenato Filho <renato.filho@openbossa.org>2011-08-31 09:50:50 -0300
commit20d74f8407292fdbc7313eb9925403b9afd17a76 (patch)
treee24967d287c7fd1f4f48ac2345f4900c9c4b75f7 /tests
parent93d87b2fc77031a6fe7d9c770ada5930f180e006 (diff)
downloadpyside-20d74f8407292fdbc7313eb9925403b9afd17a76.tar.gz
pyside-20d74f8407292fdbc7313eb9925403b9afd17a76.tar.xz
pyside-20d74f8407292fdbc7313eb9925403b9afd17a76.zip
Created test for bug #979.
Diffstat (limited to 'tests')
-rw-r--r--tests/QtGui/CMakeLists.txt1
-rw-r--r--tests/QtGui/bug_979.py9
-rw-r--r--tests/QtGui/import_test.py2
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/QtGui/CMakeLists.txt b/tests/QtGui/CMakeLists.txt
index 85e5988..9fb62b4 100644
--- a/tests/QtGui/CMakeLists.txt
+++ b/tests/QtGui/CMakeLists.txt
@@ -72,6 +72,7 @@ PYSIDE_TEST(bug_921.py)
PYSIDE_TEST(bug_941.py)
PYSIDE_TEST(bug_964.py)
PYSIDE_TEST(bug_972.py)
+PYSIDE_TEST(bug_979.py)
PYSIDE_TEST(bug_988.py)
PYSIDE_TEST(bug_991.py)
PYSIDE_TEST(customproxywidget_test.py)
diff --git a/tests/QtGui/bug_979.py b/tests/QtGui/bug_979.py
new file mode 100644
index 0000000..b780d35
--- /dev/null
+++ b/tests/QtGui/bug_979.py
@@ -0,0 +1,9 @@
+from PySide.QtGui import QDialog
+from import_test import PysideImportTest2
+
+class PysideImportTest1(QDialog, PysideImportTest2):
+ pass
+
+if __name__ == '__main__':
+ quit()
+
diff --git a/tests/QtGui/import_test.py b/tests/QtGui/import_test.py
new file mode 100644
index 0000000..0b60241
--- /dev/null
+++ b/tests/QtGui/import_test.py
@@ -0,0 +1,2 @@
+class PysideImportTest2(object):
+ pass