def METHOD_NAME(self):
    field = DateTimeInfinityField()
    test_val = dt(2018, 3, 5)
    result = field.get_db_prep_value(test_val, connection, prepared=False)
    # The actual result here will vary with Django versions and which
    # database engine has been selected in the Django settings!
    expected = super(DateTimeInfinityField, field).get_db_prep_value(
        test_val, connection, prepared=False
    )
    assert result == expected