summaryrefslogtreecommitdiff
path: root/tests/test_source.py
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2012-03-21 14:45:53 -0300
committerJohan Dahlin <jdahlin@litl.com>2012-03-21 15:48:01 -0300
commitc8bc6ae10cfe8b2eff4204ec2175907a6eb0585a (patch)
tree6b145e6add7e40fe8650cb07bcc064f651aae979 /tests/test_source.py
parent39650906559fcc39b4be406fa7e25c4788d349a3 (diff)
downloadpygobject-c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a.tar.gz
Correct pyflakes warnings/errors
And add a target to make check that runs pyflakes. https://bugzilla.gnome.org/show_bug.cgi?id=672578
Diffstat (limited to 'tests/test_source.py')
-rw-r--r--tests/test_source.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_source.py b/tests/test_source.py
index ad052cca..3dc9c5fd 100644
--- a/tests/test_source.py
+++ b/tests/test_source.py
@@ -90,9 +90,9 @@ class TestSource(unittest.TestCase):
class TestTimeout(unittest.TestCase):
- def test504337(self):
- timeout_source = GLib.Timeout(20)
- idle_source = GLib.Idle()
+ def test504337(self):
+ GLib.Timeout(20)
+ GLib.Idle()
if __name__ == '__main__':