diff options
author | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-06-17 16:26:34 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-06-17 16:26:34 +0000 |
commit | e0fc94bfbdae09096f73b4378686a3ec2e8e392a (patch) | |
tree | a30c4ce4bfb48f473016c37cd1cf233190d30b99 /tests/test_subtype.py | |
parent | d2f8d7d3e54b8a22f3c4e19c322c7c7ead0e8583 (diff) | |
download | pygobject-e0fc94bfbdae09096f73b4378686a3ec2e8e392a.tar.gz pygobject-e0fc94bfbdae09096f73b4378686a3ec2e8e392a.tar.xz pygobject-e0fc94bfbdae09096f73b4378686a3ec2e8e392a.zip |
Bug 447271 – gobject has a weird bug on mac. Involves python, property and subclassing
svn path=/trunk/; revision=677
Diffstat (limited to 'tests/test_subtype.py')
-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 |