          )
          assert str(exc_info.value) == expected
  
  
  class TestBooleanHTMLInput:
      def setup(self):
          class TestSerializer(serializers.Serializer):
              archived = serializers.BooleanField()
 
</s> remove         class MockHTMLDict(dict):
            getlist = None
 </s> add  </s> remove 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


 </s> add 
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


          )
          assert str(exc_info.value) == expected
  
  
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 TestBooleanHTMLInput:
      def setup(self):
          class TestSerializer(serializers.Serializer):
              archived = serializers.BooleanField()
keep keep keep add keep keep keep keep
 Remove an extra MockHTMLDict definition. 
tests/test_fields.py