diff options
author | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-07-07 12:09:52 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-07-07 12:09:52 +0000 |
commit | fe3966c22cbf5e198164b088b4f46f280bc33126 (patch) | |
tree | 28011f1aa7ac20608923459f40edec802d11318a /tests/test_gtype.py | |
parent | 73b8042c42ede774597b5bc235a70f8f13643b91 (diff) | |
download | pygobject-fe3966c22cbf5e198164b088b4f46f280bc33126.tar.gz pygobject-fe3966c22cbf5e198164b088b4f46f280bc33126.tar.xz pygobject-fe3966c22cbf5e198164b088b4f46f280bc33126.zip |
Bug 351072 – Cannot handle signals with parameter type G_TYPE_VALUE (marshal/unmarshal for GValue-wrapped GValue)
svn path=/trunk/; revision=680
Diffstat (limited to 'tests/test_gtype.py')
-rw-r--r-- | tests/test_gtype.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_gtype.py b/tests/test_gtype.py index df75ccf..ad54dc6 100644 --- a/tests/test_gtype.py +++ b/tests/test_gtype.py @@ -64,6 +64,11 @@ class GTypeTest(unittest.TestCase): def testObject(self): self.checkType(gobject.TYPE_OBJECT, 'PyObject') + def testValue(self): + array = [1, "foo", True] + for i in array: + self.assertEqual(i, testhelper.test_value(i)) + def testValueArray(self): array = [1, 2, 3, "foo", True] self.assertEqual(array, testhelper.test_value_array(array)) |