summaryrefslogtreecommitdiffstats
path: root/tests/test_properties.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_properties.py')
-rw-r--r--tests/test_properties.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_properties.py b/tests/test_properties.py
index e3be865..ccfcb34 100644
--- a/tests/test_properties.py
+++ b/tests/test_properties.py
@@ -366,5 +366,11 @@ class TestProperty(unittest.TestCase):
else:
raise AssertionError
+ # Bug 587637.
+ def test_float_min(self):
+ gobject.property(type=float, minimum=-1)
+ gobject.property(type=gobject.TYPE_FLOAT, minimum=-1)
+ gobject.property(type=gobject.TYPE_DOUBLE, minimum=-1)
+
if __name__ == '__main__':
unittest.main()