From 80c02f16e591d7ebce3a3ea0a5e36e92bd65ba3d Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Fri, 21 Oct 2011 17:43:31 -0300 Subject: Fixes the test for a QFlag value returned in a QVariant. --- tests/QtCore/qflags_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/QtCore/qflags_test.py b/tests/QtCore/qflags_test.py index 78ed49b04..9d2f4b1a7 100644 --- a/tests/QtCore/qflags_test.py +++ b/tests/QtCore/qflags_test.py @@ -76,7 +76,7 @@ class QFlagsOnQVariant(unittest.TestCase): def testQFlagsOnQVariant(self): o = QObject() o.setProperty("foo", QIODevice.ReadOnly | QIODevice.WriteOnly) - self.assertEqual(type(o.property("foo")), int) + self.assertEqual(type(o.property("foo")), QIODevice.OpenMode) class QFlagsWrongType(unittest.TestCase): def testWrongType(self): -- cgit v1.2.3