autopep8: fix E306 expected 1 blank line before a nested definition, found 0
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 13 Feb 2019 17:06:44 +0100
changeset 838 79324c55d6cc
parent 837 34a06fa8dab3
child 839 912d08ba315d
autopep8: fix E306 expected 1 blank line before a nested definition, found 0
test/unittest_analyze.py
--- a/test/unittest_analyze.py	Wed Feb 13 17:06:17 2019 +0100
+++ b/test/unittest_analyze.py	Wed Feb 13 17:06:44 2019 +0100
@@ -321,6 +321,7 @@
 
     def test_uid_func_mapping(self):
         h = self.helper
+
         def type_from_uid(name):
             self.assertEqual(name, "Logilab")
             return 'Company'
@@ -346,6 +347,7 @@
 
     def test_non_regr_subjobj1(self):
         h = self.helper
+
         def type_from_uid(name):
             self.assertEqual(name, "Societe")
             return 'Eetype'
@@ -362,6 +364,7 @@
 
     def test_non_regr_subjobj2(self):
         h = self.helper
+
         def type_from_uid(name):
             self.assertEqual(name, "Societe")
             return 'Eetype'
@@ -371,6 +374,7 @@
         select = node.children[0]
         sols = select.solutions
         self.assertEqual(len(sols), 25)
+
         def var_sols(var):
             s = set()
             for sol in sols:
@@ -389,6 +393,7 @@
 
     def test_unusableuid_func_mapping(self):
         h = self.helper
+
         def type_from_uid(name):
             self.assertEqual(name, "Logilab")
             return 'Company'