[pygobject] Uncomment test_gi.TestInterfaceClash
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Uncomment test_gi.TestInterfaceClash
- Date: Thu, 20 Jan 2011 14:57:01 +0000 (UTC)
commit ac095f5435f106e175fa3297cb273e63c85d2809
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date: Thu Jan 20 15:55:45 2011 +0100
Uncomment test_gi.TestInterfaceClash
tests/test_gi.py | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/tests/test_gi.py b/tests/test_gi.py
index 3a61b31..1717401 100644
--- a/tests/test_gi.py
+++ b/tests/test_gi.py
@@ -1491,17 +1491,17 @@ class TestInterfaces(unittest.TestCase):
self.assertEquals(instance.val, 42)
-# -- this needs some additions to GIMarshallingTests in gobject-introspection
-#class TestInterfaceClash(unittest.TestCase):
-#
-# def test_clash(self):
-# def create_clash():
-# class TestClash(GObject.GObject, GIMarshallingTests.Interface, GIMarshallingTests.Interface2):
-# def do_test_int8_in(self, int8):
-# pass
-# TestClash()
-#
-# self.assertRaises(TypeError, create_clash)
+class TestInterfaceClash(unittest.TestCase):
+
+ def test_clash(self):
+ def create_clash():
+ class TestClash(GObject.GObject, GIMarshallingTests.Interface, GIMarshallingTests.Interface2):
+ def do_test_int8_in(self, int8):
+ pass
+ TestClash()
+
+ self.assertRaises(TypeError, create_clash)
+
class TestOverrides(unittest.TestCase):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]