[pygobject] remove tests that were removed from gi



commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
Author: John (J5) Palmieri <johnp redhat com>
Date:   Thu Aug 18 13:50:51 2011 -0400

    remove tests that were removed from gi

 tests/test_gi.py |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/tests/test_gi.py b/tests/test_gi.py
index 2e7f2dd..dddc6fb 100644
--- a/tests/test_gi.py
+++ b/tests/test_gi.py
@@ -778,9 +778,6 @@ class TestGArray(unittest.TestCase):
 
 class TestGPtrArray(unittest.TestCase):
 
-    def test_gptrarray_int_none_return(self):
-        self.assertEquals([0, 1, 2, 3], GIMarshallingTests.gptrarray_int_none_return())
-
     def test_gptrarray_utf8_none_return(self):
         self.assertEquals(['0', '1', '2'], GIMarshallingTests.gptrarray_utf8_none_return())
 
@@ -790,14 +787,6 @@ class TestGPtrArray(unittest.TestCase):
     def test_gptrarray_utf8_full_return(self):
         self.assertEquals(['0', '1', '2'], GIMarshallingTests.gptrarray_utf8_full_return())
 
-    def test_gptrarray_int_none_in(self):
-        GIMarshallingTests.gptrarray_int_none_in(Sequence([0, 1, 2, 3]))
-
-        self.assertRaises(TypeError, GIMarshallingTests.gptrarray_int_none_in, Sequence([-1, '0', 1, 2]))
-
-        self.assertRaises(TypeError, GIMarshallingTests.gptrarray_int_none_in, 42)
-        self.assertRaises(TypeError, GIMarshallingTests.gptrarray_int_none_in, None)
-
     def test_gptrarray_utf8_none_in(self):
         GIMarshallingTests.gptrarray_utf8_none_in(Sequence(['0', '1', '2']))
 



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