diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2010-04-16 14:35:13 -0400 |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2010-04-16 14:49:59 -0400 |
commit | e73b6f6fe8b5f23a2a390ae0a6bbced593ded155 (patch) | |
tree | 93ded0379228f51339914e53a9fb41e79f40bd3e /tests/test_gi.py | |
parent | fc9ff02e53aacf9e77625c70985e99813544912a (diff) | |
download | pygi-e73b6f6fe8b5f23a2a390ae0a6bbced593ded155.tar.gz pygi-e73b6f6fe8b5f23a2a390ae0a6bbced593ded155.tar.xz pygi-e73b6f6fe8b5f23a2a390ae0a6bbced593ded155.zip |
Allow creating structs with pointers
https://bugzilla.gnome.org/show_bug.cgi?id=603537
Diffstat (limited to 'tests/test_gi.py')
-rw-r--r-- | tests/test_gi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_gi.py b/tests/test_gi.py index 89dfe87..9b9a849 100644 --- a/tests/test_gi.py +++ b/tests/test_gi.py @@ -998,7 +998,8 @@ class TestStructure(unittest.TestCase): del struct def test_not_simple_struct(self): - self.assertRaises(TypeError, GIMarshallingTests.NotSimpleStruct) + struct = GIMarshallingTests.NotSimpleStruct() + self.assertEquals(None, struct.pointer) def test_simple_struct_return(self): struct = GIMarshallingTests.simple_struct_return() |