From e73b6f6fe8b5f23a2a390ae0a6bbced593ded155 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 16 Apr 2010 14:35:13 -0400 Subject: Allow creating structs with pointers https://bugzilla.gnome.org/show_bug.cgi?id=603537 --- tests/test_gi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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() -- cgit