              else:
                  output += ' %s' % key
          if self.children:
              output += '>\n'
              output += ''.join(six.text_type(c) for c in self.children)
              output += '\n</%s>' % self.name
          else:
              output += ' />'
          return output
  
 
</s> remove         return six.text_type(self)
 </s> add         return str(self) </s> remove         shutil.rmtree(six.text_type(settings.STATIC_ROOT))
 </s> add         shutil.rmtree(settings.STATIC_ROOT) </s> remove         shutil.rmtree(six.text_type(static_dir))
 </s> add         shutil.rmtree(static_dir) </s> remove                 if isinstance(self.children[-1], six.string_types):
 </s> add                 if isinstance(self.children[-1], str): </s> remove             if isinstance(child, six.string_types):
                if isinstance(element, six.string_types):
 </s> add             if isinstance(child, str):
                if isinstance(element, str):
            output += ''.join(str(c) for c in self.children)
              else:
                  output += ' %s' % key
          if self.children:
              output += '>\n'
            output += ''.join(str(c) for c in self.children)
              output += '\n</%s>' % self.name
          else:
              output += ' />'
          return output
  
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. 
django/test/html.py