summaryrefslogtreecommitdiffstats
path: root/tests/test_gi.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gi.py')
-rw-r--r--tests/test_gi.py3
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()