diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_subtype.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_subtype.py b/tests/test_subtype.py index cfb70bb..af03b52 100644 --- a/tests/test_subtype.py +++ b/tests/test_subtype.py @@ -247,3 +247,15 @@ class TestSubType(unittest.TestCase): o = C() o.str = 'str' o.str = 'str' + + def testDescriptorV2(self): + """http://bugzilla.gnome.org/show_bug.cgi?id=447271""" + class Foo(gobject.GObject): + def set_foo(self, foo): + self._foo = foo + def get_foo(self, foo): + self._foo = foo + fooprop = property(get_foo, set_foo) + + foo = Foo() + foo.fooprop = 123 |
