aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtUiTools/bug_392.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtUiTools/bug_392.py')
-rw-r--r--tests/QtUiTools/bug_392.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/QtUiTools/bug_392.py b/tests/QtUiTools/bug_392.py
index 9cc8b210b..69817ff9f 100644
--- a/tests/QtUiTools/bug_392.py
+++ b/tests/QtUiTools/bug_392.py
@@ -2,7 +2,7 @@ import unittest
import os
from helper import UsesQApplication
-from PySide import QtGui, QtDeclarative
+from PySide import QtGui
from PySide.QtUiTools import QUiLoader
class MyWidget(QtGui.QComboBox):
@@ -21,15 +21,6 @@ class BugTest(UsesQApplication):
result = loader.load(filePath, w)
self.assert_(isinstance(result.statusbar.actionFoo, QtGui.QAction))
- def testCustomWidgets(self):
- w = QtGui.QWidget()
- loader = QUiLoader()
-
- filePath = os.path.join(os.path.dirname(__file__), 'customwidget.ui')
- result = loader.load(filePath, w)
- self.assert_(isinstance(result.declarativeView, QtDeclarative.QDeclarativeView))
- self.assert_(isinstance(result.worldTimeClock, QtGui.QWidget))
-
def testPythonCustomWidgets(self):
w = QtGui.QWidget()
loader = QUiLoader()