          data = {
              'form-TOTAL_FORMS': '1',
              'form-INITIAL_FORMS': '1',
              'form-MAX_NUM_FORMS': '0',
              'form-0-id': six.text_type(poet.id),
              'form-0-name': 'x' * 1000,
          }
          formset = PoetFormSet(data, queryset=Poet.objects.all())
          # Make sure this form doesn't pass validation.
          self.assertIs(formset.is_valid(), False)
 
</s> remove             'form-2-id': six.text_type(poet.id),  # Violate unique constraint
 </s> add             'form-2-id': str(poet.id),  # Violate unique constraint </s> remove             'form-0-id': six.text_type(poet.id),
 </s> add             'form-0-id': str(poet.id), </s> remove             'ownerprofile-0-owner': six.text_type(owner1.auto_id),
 </s> add             'ownerprofile-0-owner': str(owner1.auto_id), </s> remove             'usersite_set-0-id': six.text_type(usersite[0]['id']),
 </s> add             'usersite_set-0-id': str(usersite[0]['id']), </s> remove             'manager_set-0-id': six.text_type(manager[0]['id']),
 </s> add             'manager_set-0-id': str(manager[0]['id']),
            'form-0-id': str(poet.id),
          data = {
              'form-TOTAL_FORMS': '1',
              'form-INITIAL_FORMS': '1',
              'form-MAX_NUM_FORMS': '0',
            'form-0-id': str(poet.id),
              'form-0-name': 'x' * 1000,
          }
          formset = PoetFormSet(data, queryset=Poet.objects.all())
          # Make sure this form doesn't pass validation.
          self.assertIs(formset.is_valid(), False)
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
tests/model_formsets/tests.py