          input_data = self.FakeMultiDict()
          serializer = self.Serializer(data=input_data)
          assert serializer.is_valid()
  
          input_data = self.FakeMultiDict(**{'nested.one': '1'})
          serializer = self.Serializer(data=input_data)
          assert serializer.is_valid()
 
</s> remove         input_data = self.FakeMultiDict()
 </s> add         input_data = QueryDict() </s> remove         class FakeMultiDict(dict):
            """
            Use this to fake a `format="multipart"` request, because
            `utils.is_html_input()` returns `True` when the dict object has
            an attribute of "getlist".
            """
            def getlist(self, value, default=None):
                if value in self:
                    return [self[value]]
                else:
                    return [] if default is None else default

        self.FakeMultiDict = FakeMultiDict

 </s> add 
        input_data = QueryDict('nested[one]=1')
          input_data = self.FakeMultiDict()
          serializer = self.Serializer(data=input_data)
          assert serializer.is_valid()
  
        input_data = QueryDict('nested[one]=1')
          serializer = self.Serializer(data=input_data)
          assert serializer.is_valid()
keep keep keep keep replace keep keep
 remove FakeMultiDict definition in nested serializer tests and replace with django QueryDict 
tests/test_serializer_nested.py