diff options
author | Martin Pitt <martinpitt@gnome.org> | 2012-10-23 07:48:52 +0200 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2012-10-23 08:12:29 +0200 |
commit | fb473b31054744e5ab59e9d4ed3b74571e27d3ff (patch) | |
tree | ec8519606cc8b24d6f627c163af6a9456ffe984e /tests/test_gobject.py | |
parent | 126a10f765af3d3a6f08ce5db7ed9f3ef647848f (diff) | |
download | pygobject-fb473b31054744e5ab59e9d4ed3b74571e27d3ff.tar.gz |
Drop unnecessary static _glib bindings
Drop static pyglib bindings which have straightforward and working GLib GI
bindings. Add tests for all dropped functions to ensure they keep working.
Diffstat (limited to 'tests/test_gobject.py')
-rw-r--r-- | tests/test_gobject.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_gobject.py b/tests/test_gobject.py index a28a1454..d67365f7 100644 --- a/tests/test_gobject.py +++ b/tests/test_gobject.py @@ -15,6 +15,10 @@ class TestGObjectAPI(unittest.TestCase): self.assertEqual(obj.__module__, 'gi._gobject._gobject') + def testCompatAPI(self): + # GObject formerly exposed a lot of GLib's functions + self.assertEqual(GObject.markup_escape_text('foo'), 'foo') + class TestReferenceCounting(unittest.TestCase): def testRegularObject(self): |