[pygobject] [gi] Fix small typo in previous commit



commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
Author: Martin Pitt <martin pitt ubuntu com>
Date:   Wed Jan 19 22:52:51 2011 +0100

    [gi] Fix small typo in previous commit
    
    The GVariant signature of the self test had a trailing 'i'. The current
    GVariant builder doesn't mind, but the new implementation proposed in bug
    639939 does.

 tests/test_overrides.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_overrides.py b/tests/test_overrides.py
index 6a8488f..d516bbf 100644
--- a/tests/test_overrides.py
+++ b/tests/test_overrides.py
@@ -133,7 +133,7 @@ class TestGLib(unittest.TestCase):
         self.assertEqual(set(vis.keys()), set([1, 5]))
 
         # string index access
-        v = GLib.Variant('si', 'hello')
+        v = GLib.Variant('s', 'hello')
         self.assertEqual(len(v), 5)
         self.assertEqual(v[0], 'h')
         self.assertEqual(v[4], 'o')



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