'Check if the we try to update with None under particular
circumstances, it works correctly
@since 3.9
@jira_ticket PYTHON-657
@expected_result column value should be updated to None
@test_category object_mapper
:return:'

def test_null_update_is_respected(self):

    ModelWithDefault.create(id=1, mf={0: 0}).save()
    q = ModelWithDefault.objects.all().allow_filtering()
    obj = q.filter(id=1).get()
    updated_udt = UDT(age=1, mf={2: 2}, dummy_udt=None)
    obj.update(dummy=None, udt_default=updated_udt)
    self.assertEqual(ModelWithDefault.get()._as_dict(), {'id': 1, 'dummy': None, 'mf': {0: 0}, 'udt': None, 'udt_default': updated_udt})
