      def test_cleared_not_found(self):
          self.assertFileNotFound('cleared.txt')
  
      def test_dir_not_exists(self, **kwargs):
          shutil.rmtree(six.text_type(settings.STATIC_ROOT))
          super(TestCollectionClear, self).run_collectstatic(clear=True)
  
      @override_settings(STATICFILES_STORAGE='staticfiles_tests.storage.PathNotImplementedStorage')
      def test_handle_path_notimplemented(self):
          self.run_collectstatic()
 
</s> remove         self.addCleanup(shutil.rmtree, six.text_type(temp_dir))
 </s> add         self.addCleanup(shutil.rmtree, temp_dir) </s> remove         shutil.rmtree(six.text_type(settings.STATIC_ROOT))
 </s> add         shutil.rmtree(settings.STATIC_ROOT) </s> remove         return six.text_type(self.biggie)
 </s> add         return str(self.biggie) </s> remove         if isinstance(template, six.string_types):
 </s> add         if isinstance(template, str): </s> remove         if default_unit and isinstance(default_unit, six.string_types):
 </s> add         if default_unit and isinstance(default_unit, str):
        shutil.rmtree(settings.STATIC_ROOT)
      def test_cleared_not_found(self):
          self.assertFileNotFound('cleared.txt')
  
      def test_dir_not_exists(self, **kwargs):
        shutil.rmtree(settings.STATIC_ROOT)
          super(TestCollectionClear, self).run_collectstatic(clear=True)
  
      @override_settings(STATICFILES_STORAGE='staticfiles_tests.storage.PathNotImplementedStorage')
      def test_handle_path_notimplemented(self):
          self.run_collectstatic()
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/staticfiles_tests/test_management.py