[pygobject] Fix PEP-8 whitespace in previous commit
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Fix PEP-8 whitespace in previous commit
- Date: Wed, 24 Oct 2012 06:39:22 +0000 (UTC)
commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
Author: Martin Pitt <martinpitt gnome org>
Date: Wed Oct 24 08:39:05 2012 +0200
Fix PEP-8 whitespace in previous commit
tests/test_source.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/test_source.py b/tests/test_source.py
index df95e7a..48d9460 100644
--- a/tests/test_source.py
+++ b/tests/test_source.py
@@ -186,6 +186,7 @@ class TestSource(unittest.TestCase):
class TestUserData(unittest.TestCase):
def test_idle_no_data(self):
ml = GLib.MainLoop()
+
def cb():
ml.quit()
GLib.idle_add(cb)
@@ -193,6 +194,7 @@ class TestUserData(unittest.TestCase):
def test_timeout_no_data(self):
ml = GLib.MainLoop()
+
def cb():
ml.quit()
GLib.timeout_add(50, cb)
@@ -200,6 +202,7 @@ class TestUserData(unittest.TestCase):
def test_idle_data(self):
ml = GLib.MainLoop()
+
def cb(data):
data['called'] = True
ml.quit()
@@ -210,6 +213,7 @@ class TestUserData(unittest.TestCase):
def test_timeout_data(self):
ml = GLib.MainLoop()
+
def cb(data):
data['called'] = True
ml.quit()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]