          field = serializers.SlugField(allow_unicode=True)
  
          validation_error = False
          try:
              field.run_validation(u'slug-99-\u0420')
          except serializers.ValidationError:
              validation_error = True
  
          assert not validation_error
  
 
</s> remove     class Option(object):
 </s> add     class Option: </s> remove         super(NullBooleanField, self).__init__(**kwargs)
 </s> add         super().__init__(**kwargs) </s> remove     class EndOptionGroup(object):
 </s> add     class EndOptionGroup: </s> remove         class MockPager(object):
 </s> add         class MockPager: </s> remove             filename = urlparse.unquote(filename)
 </s> add             filename = parse.unquote(filename)
            field.run_validation('slug-99-\u0420')
          field = serializers.SlugField(allow_unicode=True)
  
          validation_error = False
          try:
            field.run_validation('slug-99-\u0420')
          except serializers.ValidationError:
              validation_error = True
  
          assert not validation_error
  
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
tests/test_fields.py