          assert serializer.is_valid()
          assert serializer.validated_data == {'archived': False}
  
  
  class MockHTMLDict(dict):
      """
      This class mocks up a dictionary like object, that behaves
      as if it was returned for multipart or urlencoded data.
      """
      getlist = None
  
  
  class TestHTMLInput:
      def test_empty_html_charfield(self):
          class TestSerializer(serializers.Serializer):
              message = serializers.CharField(default='happy')
  
 
</s> remove         class MockHTMLDict(dict):
            getlist = None
 </s> add 
          assert serializer.is_valid()
          assert serializer.validated_data == {'archived': False}
  
  








  class TestHTMLInput:
      def test_empty_html_charfield(self):
          class TestSerializer(serializers.Serializer):
              message = serializers.CharField(default='happy')
  
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
 Remove an extra MockHTMLDict definition. 
tests/test_fields.py