diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-10-21 17:43:31 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:56:20 -0300 |
commit | 80c02f16e591d7ebce3a3ea0a5e36e92bd65ba3d (patch) | |
tree | 5a5d3f53b3155742e7ec97f61dceda072991ec92 /tests | |
parent | b643a3f8abe68c82b304df4a6644666dc735941c (diff) |
Fixes the test for a QFlag value returned in a QVariant.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/QtCore/qflags_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |