summaryrefslogtreecommitdiff
path: root/tests/test_generictreemodel.py
diff options
context:
space:
mode:
authorChristoph Reiter <creiter@src.gnome.org>2017-01-09 20:44:11 +0100
committerChristoph Reiter <creiter@src.gnome.org>2017-01-09 20:44:11 +0100
commit6695931a0dfb7d9db9ea14a128108342c3d0be89 (patch)
treeb9878039e20148b8a6488230aab5a9e031c5a674 /tests/test_generictreemodel.py
parent3f68e0a352abc12e1990e82e3134c48f0be2b3c9 (diff)
downloadpygobject-6695931a0dfb7d9db9ea14a128108342c3d0be89.tar.gz
Fix new PEP8 errors
Two new errors popped up: * E305 expected 2 blank lines after class or function definition * E741 ambiguous variable name https://bugzilla.gnome.org/show_bug.cgi?id=776009
Diffstat (limited to 'tests/test_generictreemodel.py')
-rw-r--r--tests/test_generictreemodel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_generictreemodel.py b/tests/test_generictreemodel.py
index cb248d79..30ae1250 100644
--- a/tests/test_generictreemodel.py
+++ b/tests/test_generictreemodel.py
@@ -415,5 +415,6 @@ class TestReturnsAfterError(unittest.TestCase):
res = self.model.iter_parent(child)
self.assertEqual(res, None)
+
if __name__ == '__main__':
unittest.main()