      def test_parse(self):
          """ Make sure the `QueryDict` works OK """
          parser = FormParser()
  
          stream = StringIO(self.string)
          data = parser.parse(stream)
  
          assert Form(data).is_valid() is True
  
  
 
</s> remove         super(NullBooleanField, self).__init__(**kwargs)
 </s> add         super().__init__(**kwargs) </s> remove         context = super(AdminRenderer, self).get_context(
 </s> add         context = super().get_context( </s> remove         request = factory.put('/{0}'.format(filtered_out_pk), data, format='json')
 </s> add         request = factory.put('/{}'.format(filtered_out_pk), data, format='json') </s> remove class BaseParser(object):
 </s> add class BaseParser: </s> remove         super(_UnvalidatedField, self).__init__(*args, **kwargs)
 </s> add         super().__init__(*args, **kwargs)
        stream = io.StringIO(self.string)
      def test_parse(self):
          """ Make sure the `QueryDict` works OK """
          parser = FormParser()
  
        stream = io.StringIO(self.string)
          data = parser.parse(stream)
  
          assert Form(data).is_valid() is True
  
  
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_parsers.py