[pygobject] test_properties.py: Fix PEP-8 errors
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] test_properties.py: Fix PEP-8 errors
- Date: Wed, 14 Nov 2012 09:34:00 +0000 (UTC)
commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
Author: Martin Pitt <martinpitt gnome org>
Date: Wed Nov 14 10:33:24 2012 +0100
test_properties.py: Fix PEP-8 errors
tests/test_properties.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_properties.py b/tests/test_properties.py
index 6a6790b..ccb80a6 100644
--- a/tests/test_properties.py
+++ b/tests/test_properties.py
@@ -68,6 +68,7 @@ class PropertyObject(GObject.GObject):
type=TYPE_VARIANT, flags=PARAM_READWRITE | PARAM_CONSTRUCT,
default=GLib.Variant('i', 42))
+
class PropertyInheritanceObject(Regress.TestObj):
# override property from the base class, with a different type
string = GObject.Property(type=int)
@@ -374,7 +375,6 @@ class TestPropertyObject(unittest.TestCase):
self.assertRaises(TypeError, GObject.Property, type=TYPE_VARIANT,
default=object())
-
def test_variant_default(self):
obj = new(PropertyObject)
@@ -388,7 +388,6 @@ class TestPropertyObject(unittest.TestCase):
obj = new(PropertyObject, variant_def=GLib.Variant('u', 5))
self.assertEqual(obj.props.variant_def.print_(True), 'uint32 5')
-
def test_range(self):
# kiwi code
def max(c):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]