def METHOD_NAME(self):
    """
    Invalid input: a python list is not proper JSON
    """
    # Create a DatetimeRangeField instance with some params
    daterange = DatetimeRangeField(required=True)
    # The field is not supposed to receive a python list (from e.g. an array
    # query string param), and raises an error
    with self.assertRaises(ValidationError) as context:
        daterange.clean([])
    self.assertEqual(context.exception.message, "Missing required field")