[pygobject] tests: Add skip and expectedFailure to test_gi.test_callback_owned_box



commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
Author: Simon Feltman <sfeltman src gnome org>
Date:   Sun Feb 2 15:52:24 2014 -0800

    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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/test_gi.py b/tests/test_gi.py
index 8bd4027..2a6cc3d 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]