summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Ehresman <jpe@src.gnome.org>2004-07-05 16:45:58 +0000
committerJohn Ehresman <jpe@src.gnome.org>2004-07-05 16:45:58 +0000
commit53d3853168fabddfe97fe6295ba34d7407a9139a (patch)
tree2ab325bb05aaf046d047534789173acab0a3b9ef /tests
parent15a51c629c459f5b69bd0f56a230f66bf7b631ec (diff)
downloadpygobject-53d3853168fabddfe97fe6295ba34d7407a9139a.tar.gz
pygobject-53d3853168fabddfe97fe6295ba34d7407a9139a.tar.xz
pygobject-53d3853168fabddfe97fe6295ba34d7407a9139a.zip
New conversion functions that use GParamSpec's declarations of new param
* pygtype.c (pyg_param_gvalue_from_pyobject, pyg_param_gvalue_as_pyobject): New conversion functions that use GParamSpec's * pygobject.h, pygobject-private.h: declarations of new param conversion functions * pygobject.c (pygobject_get_property, pygobject_set_property): Use param conversion functions * gobjectmodule.c (pyg_parse_constructor_args): reorder local variable declaration so it will compile with VC++ * tests/testconversion.py: tests for above
Diffstat (limited to 'tests')
-rw-r--r--tests/testconversion.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testconversion.py b/tests/testconversion.py
index 63d08f4..22debdc 100644
--- a/tests/testconversion.py
+++ b/tests/testconversion.py
@@ -24,8 +24,8 @@ class Tests(unittest.TestCase):
raise AssertionError('exception not raised on invalid value w/ set_invisible_char: %s'
% invalid_value)
- def failtestUnicharProperty(self):
- """ Test unichar values when used as arguments. """
+ def testUnicharProperty(self):
+ """ Test unichar values when used as properties. """
entry = gtk.Entry()
for valid_value in ['a', u'b', u'\ufff0', u'\ufff0'.encode()]: