'If `allow_null=True` then `None` is a valid input.'

def test_allow_null(self):

    field = serializers.IntegerField(allow_null=True)
    output = field.run_validation(None)
    assert (output is None)
