diff options
author | Johan Dahlin <johan@src.gnome.org> | 2006-04-03 17:59:23 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2006-04-03 17:59:23 +0000 |
commit | e8f00ba2a11f17483c4b904d75f6cbebc0f0b195 (patch) | |
tree | bf3e8f4e5040bfce1183c63154717ad982de9284 /tests | |
parent | fcce6ce238c0d325c403e2c557659815358329b7 (diff) | |
download | pygtk-e8f00ba2a11f17483c4b904d75f6cbebc0f0b195.tar.gz |
Use classmethod
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_enum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_enum.py b/tests/test_enum.py index 39aa97e1..8f02250a 100644 --- a/tests/test_enum.py +++ b/tests/test_enum.py @@ -177,7 +177,7 @@ class FlagsTest(unittest.TestCase): def testParamSpec(self): props = filter(lambda x: GType.is_a(x.value_type, GFlags), - gtk.container_class_list_child_properties(gtk.Table)) + gtk.Table.list_child_properties()) self.failUnless(len(props) >= 2) pspec = props[0] klass = pspec.flags_class |