              'age': '65',
          }
          form = WriterProfileForm(data)
          instance = form.save()
          self.assertEqual(six.text_type(instance), 'Bob Woodward is 65')
  
          form = WriterProfileForm(instance=instance)
          self.assertHTMLEqual(
              form.as_p(),
              '''<p><label for="id_writer">Writer:</label> <select name="writer" id="id_writer" required>
 
</s> remove             'writer': six.text_type(self.w_woodward.pk),
 </s> add             'writer': str(self.w_woodward.pk), </s> remove         self.assertIn('name="myfile"', six.text_type(form))
        self.assertNotIn('myfile-clear', six.text_type(form))
 </s> add         self.assertIn('name="myfile"', str(form))
        self.assertNotIn('myfile-clear', str(form)) </s> remove         self.assertIn('myfile-clear', six.text_type(form))
 </s> add         self.assertIn('myfile-clear', str(form)) </s> remove             'form-0-id': six.text_type(poet.id),
 </s> add             'form-0-id': str(poet.id), </s> remove             six.text_type(f),
 </s> add             str(f),
        self.assertEqual(str(instance), 'Bob Woodward is 65')
              'age': '65',
          }
          form = WriterProfileForm(data)
          instance = form.save()
        self.assertEqual(str(instance), 'Bob Woodward is 65')
  
          form = WriterProfileForm(instance=instance)
          self.assertHTMLEqual(
              form.as_p(),
              '''<p><label for="id_writer">Writer:</label> <select name="writer" id="id_writer" required>
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_forms/tests.py