From 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4 Mon Sep 17 00:00:00 2001 From: Simon Feltman Date: Sun, 2 Feb 2014 15:52:24 -0800 Subject: tests: Add skip and expectedFailure to test_gi.test_callback_owned_box https://bugzilla.gnome.org/show_bug.cgi?id=722899 --- tests/test_gi.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_gi.py b/tests/test_gi.py index 8bd40270..2a6cc3db 100644 --- a/tests/test_gi.py +++ b/tests/test_gi.py @@ -2266,6 +2266,9 @@ class TestPythonGObject(unittest.TestCase): obj = self.ErrorObject() self.assertEqual(obj.vfunc_return_value_only(), 0) + @unittest.skipUnless(hasattr(GIMarshallingTests, 'callback_owned_boxed'), + 'requires newer version of GI') + @unittest.expectedFailure # bug 722899 def test_callback_owned_box(self): def callback(box, data): self.box = box -- cgit v1.2.1