summaryrefslogtreecommitdiff
path: root/tests/test_gobject.py
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2012-06-22 13:08:34 +0200
committerMartin Pitt <martinpitt@gnome.org>2012-06-22 13:16:12 +0200
commitfb436dd6d3b40b3f2a8ba6f402e2987752ad1902 (patch)
tree6ff69abc48513e8db9d2e6e332f683eba29ef8ec /tests/test_gobject.py
parent129462ccc4a2191ecbb42247030c91bd0f1454f6 (diff)
downloadpygobject-fb436dd6d3b40b3f2a8ba6f402e2987752ad1902.tar.gz
PEP8: Fix indentation
Spotted by current pep8 checker.
Diffstat (limited to 'tests/test_gobject.py')
-rw-r--r--tests/test_gobject.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test_gobject.py b/tests/test_gobject.py
index d225d502..a28a1454 100644
--- a/tests/test_gobject.py
+++ b/tests/test_gobject.py
@@ -13,7 +13,7 @@ class TestGObjectAPI(unittest.TestCase):
obj = GObject.GObject()
self.assertEqual(obj.__module__,
- 'gi._gobject._gobject')
+ 'gi._gobject._gobject')
class TestReferenceCounting(unittest.TestCase):
@@ -358,7 +358,7 @@ class TestPropertyBindings(unittest.TestCase):
def testDefaultBinding(self):
binding = self.source.bind_property('int_prop', self.target, 'int_prop',
- GObject.BindingFlags.DEFAULT)
+ GObject.BindingFlags.DEFAULT)
binding = binding # PyFlakes
# Test setting value on source gets pushed to target
@@ -373,7 +373,7 @@ class TestPropertyBindings(unittest.TestCase):
def testBiDirectionalBinding(self):
binding = self.source.bind_property('int_prop', self.target, 'int_prop',
- GObject.BindingFlags.BIDIRECTIONAL)
+ GObject.BindingFlags.BIDIRECTIONAL)
binding = binding # PyFlakes
# Test setting value on source gets pushed to target
@@ -392,8 +392,8 @@ class TestPropertyBindings(unittest.TestCase):
return value * 2
binding = self.source.bind_property('int_prop', self.target, 'int_prop',
- GObject.BindingFlags.DEFAULT,
- transform_to, None, 'test-data')
+ GObject.BindingFlags.DEFAULT,
+ transform_to, None, 'test-data')
binding = binding # PyFlakes
self.source.int_prop = 1
@@ -410,8 +410,8 @@ class TestPropertyBindings(unittest.TestCase):
return value * 2
binding = self.source.bind_property('int_prop', self.target, 'int_prop',
- GObject.BindingFlags.BIDIRECTIONAL,
- None, transform_from)
+ GObject.BindingFlags.BIDIRECTIONAL,
+ None, transform_from)
binding = binding # PyFlakes
self.source.int_prop = 1
@@ -433,8 +433,8 @@ class TestPropertyBindings(unittest.TestCase):
# bidirectional bindings
binding = self.source.bind_property('int_prop', self.target, 'int_prop',
- GObject.BindingFlags.BIDIRECTIONAL,
- transform_to, transform_from, 'test-data')
+ GObject.BindingFlags.BIDIRECTIONAL,
+ transform_to, transform_from, 'test-data')
binding = binding # PyFlakes
self.source.int_prop = 1