          with self.assertRaisesMessage(ValueError, 'Canary'):
              self.widget.render('myfile', FailingURLFieldFile())
  
      def test_url_as_property(self):
          @python_2_unicode_compatible
          class URLFieldFile(object):
              @property
              def url(self):
                  return 'https://www.python.org/'
  
 
</s> remove         @python_2_unicode_compatible
 </s> add  </s> remove         @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add 
          with self.assertRaisesMessage(ValueError, 'Canary'):
              self.widget.render('myfile', FailingURLFieldFile())
  
      def test_url_as_property(self):

          class URLFieldFile(object):
              @property
              def url(self):
                  return 'https://www.python.org/'
  
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/forms_tests/widget_tests/test_clearablefileinput.py