              return False
          # We loop over every form.errors here rather than short circuiting on the
          # first failure to make sure validation gets triggered for every form.
          forms_valid = True
          err = self.errors
          for i in range(0, self.total_form_count()):
              form = self.forms[i]
              if self.can_delete:
                  if self._should_delete_form(form):
                      # This form is going to be deleted so any of its errors
 
</s> remove     def test_invalid_key_backslash(self):
        # This key should be refused and a new session should be created
        self.assertTrue(self.backend("a\\b\\c").load())

 </s> add  </s> remove             from django.conf import settings
 </s> add  </s> remove                 except ImproperlyConfigured as e:
 </s> add                 except ImproperlyConfigured: </s> remove         match = None
 </s> add  </s> remove         from django.conf import settings

 </s> add 
        # This triggers a full clean.
        self.errors
              return False
          # We loop over every form.errors here rather than short circuiting on the
          # first failure to make sure validation gets triggered for every form.
          forms_valid = True
        # This triggers a full clean.
        self.errors
          for i in range(0, self.total_form_count()):
              form = self.forms[i]
              if self.can_delete:
                  if self._should_delete_form(form):
                      # This form is going to be deleted so any of its errors
keep keep keep keep replace keep keep keep keep keep
 Fixed a number of flake8 errors -- particularly around unused imports and local variables 
django/forms/formsets.py