Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
@@ -418,8 +418,10 @@ class WizardInlineFormSetTests(TestCase):
|
|||||||
def test_set_instance(self):
|
def test_set_instance(self):
|
||||||
# Regression test for #21259
|
# Regression test for #21259
|
||||||
poet = self.poet
|
poet = self.poet
|
||||||
|
|
||||||
class InlineFormSetWizard(CookieWizardView):
|
class InlineFormSetWizard(CookieWizardView):
|
||||||
instance = None
|
instance = None
|
||||||
|
|
||||||
def get_form_instance(self, step):
|
def get_form_instance(self, step):
|
||||||
if self.instance is None:
|
if self.instance is None:
|
||||||
self.instance = poet
|
self.instance = poet
|
||||||
|
|||||||
Reference in New Issue
Block a user