aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/QtUiTools/bug_376.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtUiTools/bug_376.py b/tests/QtUiTools/bug_376.py
index 2bd6b5ca2..054a02036 100644
--- a/tests/QtUiTools/bug_376.py
+++ b/tests/QtUiTools/bug_376.py
@@ -12,7 +12,7 @@ class BugTest(UsesQApplication):
filePath = os.path.join(os.path.dirname(__file__), 'test.ui')
result = loader.load(filePath, w)
- self.assertEqual(type(result.child_object), QtGui.QFrame)
+ self.assert_(isinstance(result.child_object, QtGui.QFrame))
if __name__ == '__main__':
unittest.main()