diff options
-rw-r--r-- | tests/QtUiTools/bug_376.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtUiTools/bug_376.py b/tests/QtUiTools/bug_376.py index 2bd6b5c..054a020 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() |