              'form-3-serial': '5',
              }
  
      delete_all_ids = {
              'form-0-DELETE': '1',
              'form-1-DELETE': '1',
              'form-2-DELETE': '1',
              'form-3-DELETE': '1',
              }
  
      def test_init_database(self):
          """ Add test data to database via formset """
          formset = self.NormalFormset(self.data)
          self.assertTrue(formset.is_valid())
 
</s> remove             'form-TOTAL_FORMS': '4',
            'form-INITIAL_FORMS': '0',
            'form-MAX_NUM_FORMS': '4',
            'form-0-username': 'John',
            'form-0-serial': '1',
            'form-1-username': 'Paul',
            'form-1-serial': '2',
            'form-2-username': 'George',
            'form-2-serial': '3',
            'form-3-username': 'Ringo',
            'form-3-serial': '5',
            }
 </s> add         'form-TOTAL_FORMS': '4',
        'form-INITIAL_FORMS': '0',
        'form-MAX_NUM_FORMS': '4',
        'form-0-username': 'John',
        'form-0-serial': '1',
        'form-1-username': 'Paul',
        'form-1-serial': '2',
        'form-2-username': 'George',
        'form-2-serial': '3',
        'form-3-username': 'Ringo',
        'form-3-serial': '5',
    } </s> remove         self.message_user(request, _(
            'The %(name)s "%(obj)s" was deleted successfully.') % {
 </s> add         self.message_user(request,
            _('The %(name)s "%(obj)s" was deleted successfully.') % { </s> remove                 Item.objects.select_related("child").order_by("name"),
                ["<Item: item1>", "<Item: item2>"]
 </s> add             Item.objects.select_related("child").order_by("name"),
            ["<Item: item1>", "<Item: item2>"] </s> remove                         self.lookup_kwarg: lookup,
 </s> add                     self.lookup_kwarg: lookup, </s> remove                 b'--boundary',
                b'Content-ID: id; name="name"',
                b'',
                b'value',
                b'--boundary--'
                b''])
 </s> add             b'--boundary',
            b'Content-ID: id; name="name"',
            b'',
            b'value',
            b'--boundary--'
            b''])
        'form-0-DELETE': '1',
        'form-1-DELETE': '1',
        'form-2-DELETE': '1',
        'form-3-DELETE': '1',
    }
              'form-3-serial': '5',
              }
  
      delete_all_ids = {
        'form-0-DELETE': '1',
        'form-1-DELETE': '1',
        'form-2-DELETE': '1',
        'form-3-DELETE': '1',
    }
        'form-0-DELETE': '1',
        'form-1-DELETE': '1',
        'form-2-DELETE': '1',
        'form-3-DELETE': '1',
    }
        'form-0-DELETE': '1',
        'form-1-DELETE': '1',
        'form-2-DELETE': '1',
        'form-3-DELETE': '1',
    }
        'form-0-DELETE': '1',
        'form-1-DELETE': '1',
        'form-2-DELETE': '1',
        'form-3-DELETE': '1',
    }
        'form-0-DELETE': '1',
        'form-1-DELETE': '1',
        'form-2-DELETE': '1',
        'form-3-DELETE': '1',
    }
  
      def test_init_database(self):
          """ Add test data to database via formset """
          formset = self.NormalFormset(self.data)
          self.assertTrue(formset.is_valid())
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Fixed #21288 -- Fixed E126 pep8 warnings 
tests/model_formsets_regress/tests.py